X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/480d54a8957ad07025a37ecb63181be2a5e6d129..3fdfaf0e7db11aa5992fbe824db3eca078a60178:/cookbooks/nginx/recipes/default.rb?ds=inline diff --git a/cookbooks/nginx/recipes/default.rb b/cookbooks/nginx/recipes/default.rb index 480937407..aec734c17 100644 --- a/cookbooks/nginx/recipes/default.rb +++ b/cookbooks/nginx/recipes/default.rb @@ -17,6 +17,8 @@ # limitations under the License. # +include_recipe "munin" + package "nginx" resolvers = node[:networking][:nameservers].map do |resolver| @@ -50,7 +52,7 @@ end service "nginx" do 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]", :immediately + subscribes :restart, "template[/etc/nginx/nginx.conf]" end munin_plugin_conf "nginx" do