From 30d3882a5774cb5aa7ed5db2b4e77e794d7387dc Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 5 Jun 2017 19:02:38 -0300 Subject: Changes for puppet 4 compatibility --- manifests/init.pp | 8 ++++---- 1 file 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'), } -- cgit v1.2.3