X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fhardware%2Fmanifests%2Ffixes.pp;h=2ef263854c7ac915f8b9f54de056fe32be9d1281;hb=74228f95e562156c74e302c33d5c2692c0c31564;hp=8e555e12507e0fc9db8958a41fbd61a0d7a1f785;hpb=009ad01933a07dee8dbbfc5cd1af6d0a889eddfe;p=mirror%2Fdsa-puppet.git diff --git a/modules/hardware/manifests/fixes.pp b/modules/hardware/manifests/fixes.pp index 8e555e125..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: { - concat::fragment { 'dsa-puppet-stuff--hp-health': - target => '/etc/cron.d/dsa-puppet-stuff', + 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 { '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 } }