From ae05fced176bfdb5a23784614594306ef45ae9ee Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 5 Jun 2017 19:07:06 -0300 Subject: Changes for puppet 4 compatibility --- manifests/hash.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/hash.pp b/manifests/hash.pp index 006f881..0670c0f 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 => '600', 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 => '600', 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 => '600', require => [File["${name}"], Exec["generate ${name}.db"]], seltype => $postfix::postfix_seltype, } -- cgit v1.2.3