From: Silvio Rhatto Date: Mon, 5 Jun 2017 22:02:38 +0000 (-0300) Subject: Changes for puppet 4 compatibility X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=30d3882a5774cb5aa7ed5db2b4e77e794d7387dc;p=puppet-apcupsd.git Changes for puppet 4 compatibility --- 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'), }