X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fhardware%2Fmanifests%2Ffixes.pp;h=2ef263854c7ac915f8b9f54de056fe32be9d1281;hb=2f47eaa7b4c14fde07d0bb7959a96907a4739db9;hp=143163f543da2753c0ff71ba213b7890bb3f9123;hpb=4c5b38dfdd15ac9c0ab6206c7e40b6fc4588f6b2;p=mirror%2Fdsa-puppet.git diff --git a/modules/hardware/manifests/fixes.pp b/modules/hardware/manifests/fixes.pp index 143163f54..2ef263854 100644 --- a/modules/hardware/manifests/fixes.pp +++ b/modules/hardware/manifests/fixes.pp @@ -1,11 +1,11 @@ class hardware::fixes { case $::hostname { bm-bl1,bm-bl2,bm-bl3,bm-bl4,bm-bl5,bm-bl6,bm-bl7,bm-bl8,bm-bl9,bm-bl10,bm-bl11,bm-bl12,bm-bl13,bm-bl14,lobos,villa: { - concat::fragment { 'dsa-puppet-stuff--hp-health': - target => '/etc/cron.d/dsa-puppet-stuff', + concat::fragment { 'puppet-crontab--hp-health': + target => '/etc/cron.d/puppet-crontab', #order => '100', content => @(EOF) - @hourly root (for i in `seq 1 5`; do timeout 45 hpasmcli -s help && break; sleep 5; service hp-health stop; sleep 5; service hp-health start; sleep 10; done) > /dev/null 2>/dev/null + @hourly root (for i in `seq 1 5`; do timeout 25 hpasmcli -s help && break; sleep 5; service hp-health stop; sleep 5; service hp-health start; sleep 10; done) > /dev/null 2>/dev/null | EOF } }