group "root"
mode 0644
variables params[:variables].merge(:name => name, :directory => directory)
- notifies :reload, "service[nginx]"
+ notifies :restart, "service[nginx]"
end
elsif site_action.include?(:delete)
file "/etc/nginx/conf.d/#{name}.conf" do