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
#
class smart::daemon {
package { "smartmontools":
ensure => installed,
}
require smart
service { "smartd":
ensure => running,