Allow retrying of apache service actions
authorTom Hughes <tom@compton.nu>
Tue, 11 Feb 2020 22:57:35 +0000 (22:57 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 12 Feb 2020 21:14:10 +0000 (21:14 +0000)
commit437ca67c1d15d1f9994007f36ebd17dd4ecad5c1
tree9ebbe65890ac6475ae1d52b3b37db2594d961c7f
parent08b1f7e983927743a45656d7ce5a7f5d70a33cf1
Allow retrying of apache service actions

There seems to be an issue with the otrs cookbook when deployed
on a new machine where it tries to both restart and also reload
apache and the reload sometime fails because it seems to happen
before the restart has completed.

It's possible this is because the use of mod_perl for otrs is
slowing down the restart but as a workaround we allow the reload
action to be retried a couple of times.
cookbooks/apache/recipes/default.rb