summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-01-27 14:25:03 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-01-27 14:25:03 -0200
commit1f80c5f6b0a7827fd21a94d1857b4b3cd8568946 (patch)
tree75a8856597814a47712f7a47938a49115192d9f4
parentbbfa43a9238c274d8c65d2d879cbf31a89d86b29 (diff)
downloadpuppet-smartmontools-1f80c5f6b0a7827fd21a94d1857b4b3cd8568946.tar.gz
puppet-smartmontools-1f80c5f6b0a7827fd21a94d1857b4b3cd8568946.tar.bz2
Renaming service
-rw-r--r--manifests/init.pp5
1 files changed, 3 insertions, 2 deletions
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"] ],
}