X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/c4abdded449ba9f2905f78fb9d2c017a49f99b17..25a27b0ba4f918b8ecf7e3832ccb80f9edb4c7d3:/cookbooks/nginx/recipes/default.rb diff --git a/cookbooks/nginx/recipes/default.rb b/cookbooks/nginx/recipes/default.rb index b9625ddd4..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, :start ] + action [:enable] supports :status => true, :restart => true, :reload => true subscribes :restart, "template[/etc/nginx/nginx.conf]" end -