diff options
-rw-r--r-- | manifests/base.pp | 2 | ||||
-rw-r--r-- | manifests/site/config.pp | 6 |
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"], |