8e555e12507e0fc9db8958a41fbd61a0d7a1f785
[mirror/dsa-puppet.git] / modules / hardware / manifests / fixes.pp
1 class hardware::fixes {
2         case $::hostname {
3                 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: {
4                         concat::fragment { 'dsa-puppet-stuff--hp-health':
5                                 target => '/etc/cron.d/dsa-puppet-stuff',
6                                 #order  => '100',
7                                 content  => @(EOF)
8                                         @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
9                                         | EOF
10                         }
11                 }
12         }
13 }