aboutsummaryrefslogtreecommitdiff
path: root/manifests/hash.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-12-30 13:59:03 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-12-30 13:59:03 -0200
commit8ddd755b4e6e116493331a063376e57a536eba6d (patch)
treed44cd61b787bcb6141ed49d3cc6d2063c46b2600 /manifests/hash.pp
parent1e53f6be6cb823a08c1a544e20d8f0c6543a3fea (diff)
downloadpuppet-postfix-8ddd755b4e6e116493331a063376e57a536eba6d.tar.gz
puppet-postfix-8ddd755b4e6e116493331a063376e57a536eba6d.tar.bz2
Stringify file modes
Diffstat (limited to 'manifests/hash.pp')
-rw-r--r--manifests/hash.pp6
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,
}