diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-11-30 01:29:58 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-11-30 01:29:58 -0500 |
commit | 38ac74234e646e73c88f98b41d327a0ff1a872dd (patch) | |
tree | 493f8462b035b6e750ce22690455ce883c4f344f /modules/partofme/manifests | |
parent | 8a7d39c3e63ba7e81a8eb2276b2e16b489fb08cc (diff) | |
download | puppet-tozt-38ac74234e646e73c88f98b41d327a0ff1a872dd.tar.gz puppet-tozt-38ac74234e646e73c88f98b41d327a0ff1a872dd.zip |
add a cron to check if there were any raid scrub errors
Diffstat (limited to 'modules/partofme/manifests')
-rw-r--r-- | modules/partofme/manifests/persistent.pp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/partofme/manifests/persistent.pp b/modules/partofme/manifests/persistent.pp index fdc5601..57c5e5e 100644 --- a/modules/partofme/manifests/persistent.pp +++ b/modules/partofme/manifests/persistent.pp @@ -11,6 +11,10 @@ class partofme::persistent { source => 'puppet:///modules/partofme/raid-scrub', mode => '0755', require => Class['cron']; + "/etc/cron.hourly/raid-scrub-check": + source => 'puppet:///modules/partofme/raid-scrub-check', + mode => '0755', + require => Class['cron']; } $fstab_line = "/dev/partofme/data /media/persistent ext4 rw,relatime,noauto 0 2" |