From: Silvio Rhatto Date: Wed, 27 Jan 2010 16:25:03 +0000 (-0200) Subject: Renaming service X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=1f80c5f6b0a7827fd21a94d1857b4b3cd8568946;p=puppet-smartmontools.git Renaming service --- diff --git a/manifests/init.pp b/manifests/init.pp index 083492b..8bafa95 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -48,13 +48,14 @@ class smartmontools { owner => root, group => root, mode => 0644, - notify => Service["smartd"], + notify => Service["smartmontools"], source => "puppet://$server/modules/smartmontools/default/smartmontools", } - service { "smartd": + service { "smartmontools": enable => true, hasrestart => true, + pattern => "/usr/sbin/smartd", ensure => running, require => [ File["/etc/default/smartmontools"], Package["smartmontools"] ], }