summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:02:38 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:02:38 -0300
commit30d3882a5774cb5aa7ed5db2b4e77e794d7387dc (patch)
tree21c2876ecda2280d8dd9619072d87763c7a2029d /manifests
parente15b5039e940557d3a53fc7c6ab0d609771544a9 (diff)
downloadpuppet-apcupsd-30d3882a5774cb5aa7ed5db2b4e77e794d7387dc.tar.gz
puppet-apcupsd-30d3882a5774cb5aa7ed5db2b4e77e794d7387dc.tar.bz2
Changes for puppet 4 compatibility
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp8
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'),
}