diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-06-05 19:06:51 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-06-05 19:06:51 -0300 |
commit | 8d8b27b581fb58b8d559d3c7c1e1397e578230c3 (patch) | |
tree | 627c970454600dc8a932b44fb1f76f785db53658 /manifests/role | |
parent | e128c09e7432997b1cf4747ec5e0f4fab7985e8e (diff) | |
download | puppet-nodo-8d8b27b581fb58b8d559d3c7c1e1397e578230c3.tar.gz puppet-nodo-8d8b27b581fb58b8d559d3c7c1e1397e578230c3.tar.bz2 |
Changes for puppet 4 compatibility
Diffstat (limited to 'manifests/role')
-rw-r--r-- | manifests/role/jabber.pp | 2 | ||||
-rw-r--r-- | manifests/role/nas.pp | 12 | ||||
-rw-r--r-- | manifests/role/router.pp | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/manifests/role/jabber.pp b/manifests/role/jabber.pp index 59c2c87..c623cab 100644 --- a/manifests/role/jabber.pp +++ b/manifests/role/jabber.pp @@ -21,7 +21,7 @@ class nodo::role::jabber inherits nodo::base::virtual { ensure => directory, owner => "root", group => "ejabberd", - mode => 0750, + mode => '0750', } # We use a concatenated cert file diff --git a/manifests/role/nas.pp b/manifests/role/nas.pp index 492490e..9cdc0e1 100644 --- a/manifests/role/nas.pp +++ b/manifests/role/nas.pp @@ -101,7 +101,7 @@ class nodo::role::nas( ensure => present, owner => root, group => root, - mode => 0644, + mode => '0644', content => "no\n", notify => Service[$pureftpd::params::service_name], } @@ -113,7 +113,7 @@ class nodo::role::nas( }, owner => root, group => root, - mode => 0644, + mode => '0644', source => 'puppet:///modules/site_avahi/services/ftp.service', notify => $avahi ? { true => Service['avahi-daemon'], @@ -175,7 +175,7 @@ class nodo::role::nas( }, owner => root, group => root, - mode => 0644, + mode => '0644', source => 'puppet:///modules/site_avahi/services/samba.service', notify => $avahi ? { true => Service['avahi-daemon'], @@ -202,7 +202,7 @@ class nodo::role::nas( ensure => directory, owner => root, group => root, - mode => 0755, + mode => '0755', } file { '/etc/avahi/services/http.service': @@ -212,7 +212,7 @@ class nodo::role::nas( }, owner => root, group => root, - mode => 0644, + mode => '0644', source => 'puppet:///modules/site_avahi/services/http.service', notify => $avahi ? { true => Service['avahi-daemon'], @@ -251,7 +251,7 @@ class nodo::role::nas( }, owner => root, group => root, - mode => 0644, + mode => '0644', source => 'puppet:///modules/site_avahi/services/rsync.service', notify => $avahi ? { true => Service['avahi-daemon'], diff --git a/manifests/role/router.pp b/manifests/role/router.pp index 9d04813..cd65a1e 100644 --- a/manifests/role/router.pp +++ b/manifests/role/router.pp @@ -19,7 +19,7 @@ class nodo::role::router inherits nodo::base::appliance { ensure => present, owner => root, group => root, - mode => 0644, + mode => '0644', source => 'puppet:///modules/site_nodo/dhclient-exit-hooks.d/shorewall' } } |