projects
/
chef.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow retrying of apache service actions
[chef.git]
/
cookbooks
/
apache
/
recipes
/
default.rb
diff --git
a/cookbooks/apache/recipes/default.rb
b/cookbooks/apache/recipes/default.rb
index ffa03c34cbfbdae28b2c7649ab6da7281f3bd4b1..925dda5ad250cc6ea8a5dabb9f5166da93a9768c 100644
(file)
--- a/
cookbooks/apache/recipes/default.rb
+++ b/
cookbooks/apache/recipes/default.rb
@@
-54,6
+54,8
@@
end
service "apache2" do
action [:enable, :start]
+ retries 2
+ retry_delay 10
supports :status => true, :restart => true, :reload => true
end