summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:06:48 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:06:48 -0300
commit947a8be8355e7aaeb64258ffba30132b411fee2a (patch)
tree10e97ef97e62186ef04361ad32c4006f90c28f6f
parent557c50672dfa964ad0e59b0aea19e2c59121322f (diff)
downloadpuppet-nginx-947a8be8355e7aaeb64258ffba30132b411fee2a.tar.gz
puppet-nginx-947a8be8355e7aaeb64258ffba30132b411fee2a.tar.bz2
Changes for puppet 4 compatibility
-rw-r--r--manifests/base.pp2
-rw-r--r--manifests/site/config.pp6
2 files changed, 4 insertions, 4 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index bb13860..21c2390 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -23,7 +23,7 @@ class nginx::base {
content => template("nginx/nginx.conf.erb"),
owner => "root",
group => "root",
- mode => 0644,
+ mode => '0644',
ensure => present,
notify => Service["nginx"],
}
diff --git a/manifests/site/config.pp b/manifests/site/config.pp
index ff8187e..9822795 100644
--- a/manifests/site/config.pp
+++ b/manifests/site/config.pp
@@ -15,7 +15,7 @@ define nginx::site::config(
},
owner => "root",
group => "root",
- mode => 0644,
+ mode => '0644',
ensure => $ensure,
notify => Service["nginx"],
require => File["/etc/nginx/sites-available"],
@@ -26,7 +26,7 @@ define nginx::site::config(
content => template("nginx/${template}.erb"),
owner => "root",
group => "root",
- mode => 0644,
+ mode => '0644',
ensure => $ensure,
notify => Service["nginx"],
require => File["/etc/nginx/sites-available"],
@@ -36,7 +36,7 @@ define nginx::site::config(
file { "/etc/nginx/sites-available/$name":
owner => "root",
group => "root",
- mode => 0644,
+ mode => '0644',
ensure => $ensure,
notify => Service["nginx"],
require => File["/etc/nginx/sites-available"],