From 9c43b0a4265e274b7938a82797f3a1c14dd03555 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 5 Jun 2017 19:13:40 -0300 Subject: Changes for puppet 4 compatibility --- manifests/init.pp | 6 +++--- 1 file 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'], -- cgit v1.2.3