diff --git a/manifests/main/dirs.pp b/manifests/main/dirs.pp index dfbd93c..d751001 100644 --- a/manifests/main/dirs.pp +++ b/manifests/main/dirs.pp @@ -19,7 +19,7 @@ class prometheus_cd::main::dirs ( seluser => system_u, } # data directory - file { $ps_data_dir, + file { $ps_data_dir: ensure => directory, owner => 'prometheus', group => 'prometheus', diff --git a/manifests/params.pp b/manifests/params.pp index a41f820..9e54376 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -13,6 +13,7 @@ # @param [String] ps_main_port the firewall main port for prometheus # @param [String] ps_auth_user the username for authentication # @param [String] ps_auth_pass the password for authentication +# @param [String] ps_data_dir the data directory for prometheus ############################################################################## class prometheus_cd::params (