From 8ddd755b4e6e116493331a063376e57a536eba6d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 30 Dec 2017 13:59:03 -0200 Subject: Stringify file modes --- manifests/hash.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'manifests') 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, } -- cgit v1.2.3