summaryrefslogtreecommitdiffstats
path: root/modules/partofme/manifests
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-11-30 01:29:58 -0500
committerJesse Luehrs <doy@tozt.net>2018-11-30 01:29:58 -0500
commit38ac74234e646e73c88f98b41d327a0ff1a872dd (patch)
tree493f8462b035b6e750ce22690455ce883c4f344f /modules/partofme/manifests
parent8a7d39c3e63ba7e81a8eb2276b2e16b489fb08cc (diff)
downloadpuppet-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.pp4
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"