summaryrefslogtreecommitdiff
path: root/manifests/setup.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:09:43 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:09:43 -0300
commit155236c08d0910e8e1600a56450cf95ad057b409 (patch)
treeb87e8f23f769590b5c8b9fdc524f466b027c822a /manifests/setup.pp
parentacb1fc61809fcedfe102c3d718d0a97a89d4bc35 (diff)
downloadpuppet-websites-155236c08d0910e8e1600a56450cf95ad057b409.tar.gz
puppet-websites-155236c08d0910e8e1600a56450cf95ad057b409.tar.bz2
Changes for puppet 4 compatibility
Diffstat (limited to 'manifests/setup.pp')
-rw-r--r--manifests/setup.pp8
1 files 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", ]
}