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
|
# 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,
|
||||||
|
|
Loading…
Add table
Reference in a new issue