X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ff044920428608b2c04507ad52d6ab52c9d6555f..c1f1e240baece8f3a3ee1d7139736e4a6a0f027e:/cookbooks/nginx/recipes/default.rb diff --git a/cookbooks/nginx/recipes/default.rb b/cookbooks/nginx/recipes/default.rb index 540e97c24..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,7 +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