summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:13:40 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:13:40 -0300
commit9c43b0a4265e274b7938a82797f3a1c14dd03555 (patch)
tree4e61eb8c3a6360f3d73120ceb8a5f1b6c67c18e2
parent917274dc6ba44ae114d16da5e1fa1e3701ac0b87 (diff)
downloadpuppet-smartmontools-9c43b0a4265e274b7938a82797f3a1c14dd03555.tar.gz
puppet-smartmontools-9c43b0a4265e274b7938a82797f3a1c14dd03555.tar.bz2
Changes for puppet 4 compatibility
-rw-r--r--manifests/init.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index d8ce756..d0fb0cf 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -30,14 +30,14 @@ class smartmontools {
# ensure => 'directory',
# owner => 'root',
# group => 'root',
- # mode => 0755,
+ # mode => '0755',
#}
#file { "/etc/smartd.conf":
# ensure => present,
# owner => root,
# group => root,
- # mode => 0644,
+ # mode => '0644',
# notify => Service["smartmontools"],
# require => File["/etc/smartmontools"],
# content => template('smartmontools/smartmontools.conf.erb'),
@@ -47,7 +47,7 @@ class smartmontools {
ensure => present,
owner => root,
group => root,
- mode => 0644,
+ mode => '0644',
notify => Service['smartmontools'],
source => "puppet://$server/modules/smartmontools/default/smartmontools",
require => Package['smartmontools'],