]> git.openstreetmap.org Git - chef.git/commitdiff
nginx: add note on service start
authorGrant Slater <git@firefishy.com>
Mon, 2 Jan 2017 22:10:42 +0000 (22:10 +0000)
committerGrant Slater <git@firefishy.com>
Mon, 2 Jan 2017 22:10:42 +0000 (22:10 +0000)
cookbooks/nginx/recipes/default.rb

index 307c4c03c3cb377f4798d6b47df48457bed43fb3..0c97546bde42f62777e8f7f2f3f6847fcf0924fd 100644 (file)
@@ -43,7 +43,7 @@ directory "/var/cache/nginx/proxy-cache" do
 end
 
 service "nginx" do
-  action [:enable]
+  action [:enable] # Do not start the service as config may be broken from failed chef run
   supports :status => true, :restart => true, :reload => true
   subscribes :restart, "template[/etc/nginx/nginx.conf]"
 end