smaller timeout before we attempt to restart hpasmcli
[mirror/dsa-puppet.git] / modules / hardware / manifests / fixes.pp
index 143163f..4f1bda7 100644 (file)
@@ -5,7 +5,7 @@ class hardware::fixes {
                                target => '/etc/cron.d/dsa-puppet-stuff',
                                #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
                        }
                }