diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-06-05 19:02:38 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-06-05 19:02:38 -0300 |
commit | 30d3882a5774cb5aa7ed5db2b4e77e794d7387dc (patch) | |
tree | 21c2876ecda2280d8dd9619072d87763c7a2029d | |
parent | e15b5039e940557d3a53fc7c6ab0d609771544a9 (diff) | |
download | puppet-apcupsd-30d3882a5774cb5aa7ed5db2b4e77e794d7387dc.tar.gz puppet-apcupsd-30d3882a5774cb5aa7ed5db2b4e77e794d7387dc.tar.bz2 |
Changes for puppet 4 compatibility
-rw-r--r-- | manifests/init.pp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 0359d0a..2af3773 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -48,14 +48,14 @@ class apcupsd( ensure => 'directory', owner => 'root', group => 'root', - mode => 0755, + mode => '0755', } file { "/etc/apcupsd/apcupsd.conf": ensure => present, owner => root, group => root, - mode => 0644, + mode => '0644', notify => Service["apcupsd"], require => File["/etc/apcupsd"], content => template('apcupsd/apcupsd.conf.erb'), @@ -65,7 +65,7 @@ class apcupsd( ensure => present, owner => root, group => root, - mode => 0755, + mode => '0755', notify => Service["apcupsd"], require => File["/etc/apcupsd"], content => template('apcupsd/changeme.erb'), @@ -75,7 +75,7 @@ class apcupsd( ensure => present, owner => root, group => root, - mode => 0644, + mode => '0644', notify => Service["apcupsd"], content => template('apcupsd/default/apcupsd.erb'), } |