smart: Splitted smart monitoring tools install to own class.

This commit is contained in:
Timo Mkinen 2013-05-12 22:53:07 +03:00
parent 6d29f08950
commit a53427e2d9

View file

@ -1,11 +1,18 @@
# Install S.M.A.R.T. tools
class smart {
package { "smartmontools":
ensure => installed
}
}
# Enable S.M.A.R.T. monitoring daemon # Enable S.M.A.R.T. monitoring daemon
# #
class smart::daemon { class smart::daemon {
package { "smartmontools": require smart
ensure => installed,
}
service { "smartd": service { "smartd":
ensure => running, ensure => running,