summaryrefslogtreecommitdiff
path: root/manifests/site
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:02:34 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:02:34 -0300
commit9007087fc0cebdda9d52c10df889438220f7c74d (patch)
treec5a6610832ad4809d8b207cdd55b9bb2fd1c357c /manifests/site
parentb23543c94e9f99d2949ae21ced407f0cc4493976 (diff)
downloadpuppet-apache-9007087fc0cebdda9d52c10df889438220f7c74d.tar.gz
puppet-apache-9007087fc0cebdda9d52c10df889438220f7c74d.tar.bz2
Changes for puppet 4 compatibility
Diffstat (limited to 'manifests/site')
-rw-r--r--manifests/site/config.pp4
-rw-r--r--manifests/site/manage.pp2
2 files changed, 3 insertions, 3 deletions
diff --git a/manifests/site/config.pp b/manifests/site/config.pp
index 6e6829f..5ad91af 100644
--- a/manifests/site/config.pp
+++ b/manifests/site/config.pp
@@ -31,7 +31,7 @@ define apache::site::config(
"puppet:///modules/site_apache/vhosts/${name}" ],
owner => root,
group => root,
- mode => 0644,
+ mode => '0644',
require => File["${apache::macros}"],
notify => Service["apache"],
}
@@ -42,7 +42,7 @@ define apache::site::config(
content => template("$template"),
owner => root,
group => root,
- mode => 0644,
+ mode => '0644',
require => File["${apache::macros}"],
notify => Service["apache"],
}
diff --git a/manifests/site/manage.pp b/manifests/site/manage.pp
index c04bec3..36e9934 100644
--- a/manifests/site/manage.pp
+++ b/manifests/site/manage.pp
@@ -14,7 +14,7 @@ define apache::site::manage(
ensure => present,
owner => $owner,
group => $group,
- mode => 0755,
+ mode => '0755',
recurse => false,
}
}