smart: Splitted smart monitoring tools install to own class.
This commit is contained in:
parent
6d29f08950
commit
a53427e2d9
1 changed files with 10 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue