X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/dbeb831d56b179a8cf5fa29187fce565327f85ca..56df259055ae541d1f31b8502c549cb84f74778e:/cookbooks/nginx/recipes/default.rb diff --git a/cookbooks/nginx/recipes/default.rb b/cookbooks/nginx/recipes/default.rb index 584932166..2c8b00a46 100644 --- a/cookbooks/nginx/recipes/default.rb +++ b/cookbooks/nginx/recipes/default.rb @@ -19,7 +19,7 @@ package "nginx" -#admins = data_bag_item("nginx", "admins") +# admins = data_bag_item("nginx", "admins") template "/etc/nginx/nginx.conf" do source "nginx.conf.erb" @@ -29,8 +29,7 @@ template "/etc/nginx/nginx.conf" do end service "nginx" do - action [ :enable ] + action [:enable] supports :status => true, :restart => true, :reload => true subscribes :restart, "template[/etc/nginx/nginx.conf]" end -