Initial version of smart module.
This commit is contained in:
parent
23e8d500f5
commit
4c306cbf81
1 changed files with 16 additions and 0 deletions
16
smart/manifests/init.pp
Normal file
16
smart/manifests/init.pp
Normal file
|
@ -0,0 +1,16 @@
|
|||
|
||||
# Enable S.M.A.R.T. monitoring daemon
|
||||
#
|
||||
class smart::daemon {
|
||||
|
||||
package { "smartmontools":
|
||||
ensure => installed,
|
||||
}
|
||||
|
||||
service { "smartd":
|
||||
ensure => running,
|
||||
enable => true,
|
||||
require => Package["smartmontools"],
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue