diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-12-30 13:59:03 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-12-30 13:59:03 -0200 |
commit | 8ddd755b4e6e116493331a063376e57a536eba6d (patch) | |
tree | d44cd61b787bcb6141ed49d3cc6d2063c46b2600 /manifests/hash.pp | |
parent | 1e53f6be6cb823a08c1a544e20d8f0c6543a3fea (diff) | |
download | puppet-postfix-8ddd755b4e6e116493331a063376e57a536eba6d.tar.gz puppet-postfix-8ddd755b4e6e116493331a063376e57a536eba6d.tar.bz2 |
Stringify file modes
Diffstat (limited to 'manifests/hash.pp')
-rw-r--r-- | manifests/hash.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/hash.pp b/manifests/hash.pp index 006f881..b180568 100644 --- a/manifests/hash.pp +++ b/manifests/hash.pp @@ -34,7 +34,7 @@ define postfix::hash ($ensure="present", $source = false) { false: { file {"${name}": ensure => $ensure, - mode => 600, + mode => '0600', owner => root, group => root, seltype => $postfix::postfix_seltype, @@ -44,7 +44,7 @@ define postfix::hash ($ensure="present", $source = false) { default: { file {"${name}": ensure => $ensure, - mode => 600, + mode => '0600', owner => root, group => root, source => $source, @@ -56,7 +56,7 @@ define postfix::hash ($ensure="present", $source = false) { file {"${name}.db": ensure => $ensure, - mode => 600, + mode => '0600', require => [File["${name}"], Exec["generate ${name}.db"]], seltype => $postfix::postfix_seltype, } |