From 155236c08d0910e8e1600a56450cf95ad057b409 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 5 Jun 2017 19:09:43 -0300 Subject: Changes for puppet 4 compatibility --- manifests/setup.pp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/manifests/setup.pp b/manifests/setup.pp index dd37914..cca6d43 100644 --- a/manifests/setup.pp +++ b/manifests/setup.pp @@ -24,7 +24,7 @@ class websites::setup { owner => "root", group => "root", # This mode will also apply to files from the source directory - mode => 0644, + mode => '0644', # Puppet will automatically set +x for directories source => [ "puppet:///modules/site_apache/htdocs/${::domain}/images", "puppet:///modules/websites/htdocs/images", ] @@ -39,7 +39,7 @@ class websites::setup { owner => "root", group => "root", # This mode will also apply to files from the source directory - mode => 0644, + mode => '0644', # Puppet will automatically set +x for directories source => [ "puppet:///modules/site_apache/htdocs/${::domain}/certs", "puppet:///modules/websites/htdocs/certs", ] @@ -50,7 +50,7 @@ class websites::setup { ensure => present, owner => "root", group => "root", - mode => 0644, + mode => '0644', source => [ "puppet:///modules/site_apache/htdocs/${::domain}/index.html", "puppet:///modules/websites/htdocs/index.html", ] } @@ -60,7 +60,7 @@ class websites::setup { ensure => present, owner => "root", group => "root", - mode => 0644, + mode => '0644', source => [ "puppet:///modules/site_apache/htdocs/${::domain}/missing.html", "puppet:///modules/websites/htdocs/missing.html", ] } -- cgit v1.2.3