aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:07:06 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:07:06 -0300
commitae05fced176bfdb5a23784614594306ef45ae9ee (patch)
tree459b9a0eea60f4f17852d6c86af5830497dc8b2e
parent3188b9492f96b776b1221eca4577cb54423ec51e (diff)
downloadpuppet-postfix-ae05fced176bfdb5a23784614594306ef45ae9ee.tar.gz
puppet-postfix-ae05fced176bfdb5a23784614594306ef45ae9ee.tar.bz2
Changes for puppet 4 compatibility
-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..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,
}