Skip to content

Commit

Permalink
Merge pull request #327 from nkadel-skyhook/delayed
Browse files Browse the repository at this point in the history
Set all notifies that are not ':immediately' to be ':delayed'
  • Loading branch information
miketheman committed Mar 17, 2015
2 parents e0d53c5 + 2bcb1be commit a04f151
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion recipes/authorized_ips.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
owner 'root'
group node['root_group']
mode '0644'
notifies :reload, 'service[nginx]'
notifies :reload, 'service[nginx]', :delayed
end
4 changes: 2 additions & 2 deletions recipes/commons_conf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@
owner 'root'
group node['root_group']
mode '0644'
notifies :reload, 'service[nginx]'
notifies :reload, 'service[nginx]', :delayed
end

template "#{node['nginx']['dir']}/sites-available/default" do
source 'default-site.erb'
owner 'root'
group node['root_group']
mode '0644'
notifies :reload, 'service[nginx]'
notifies :reload, 'service[nginx]', :delayed
end

nginx_site 'default' do
Expand Down
2 changes: 1 addition & 1 deletion recipes/http_realip_module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
owner 'root'
group node['root_group']
mode '0644'
notifies :reload, 'service[nginx]'
notifies :reload, 'service[nginx]', :delayed
end

node.run_state['nginx_configure_flags'] =
Expand Down
2 changes: 1 addition & 1 deletion recipes/http_stub_status_module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
owner 'root'
group node['root_group']
mode '0644'
notifies :reload, 'service[nginx]'
notifies :reload, 'service[nginx]', :delayed
end

nginx_site 'nginx_status'
Expand Down
2 changes: 1 addition & 1 deletion recipes/naxsi_module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
owner 'root'
group node['root_group']
mode '0644'
notifies :reload, 'service[nginx]'
notifies :reload, 'service[nginx]', :delayed
end

naxsi_src_filename = ::File.basename(node['nginx']['naxsi']['url'])
Expand Down
2 changes: 1 addition & 1 deletion recipes/passenger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@
owner 'root'
group node['root_group']
mode '0644'
notifies :reload, 'service[nginx]'
notifies :reload, 'service[nginx]', :delayed
end
2 changes: 1 addition & 1 deletion recipes/socketproxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
owner 'root'
group 'root'
mode 00644
notifies :reload, 'service[nginx]'
notifies :reload, 'service[nginx]', :delayed
end

link node['nginx']['dir'] + '/sites-enabled/socketproxy.conf' do
Expand Down
2 changes: 1 addition & 1 deletion recipes/source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
owner 'root'
group node['root_group']
mode '0644'
notifies :reload, 'service[nginx]'
notifies :reload, 'service[nginx]', :delayed
end

# source install depends on the existence of the `tar` package
Expand Down
2 changes: 1 addition & 1 deletion recipes/upload_progress_module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
owner 'root'
group node['root_group']
mode '0644'
notifies :reload, 'service[nginx]'
notifies :reload, 'service[nginx]', :delayed
end

bash 'extract_upload_progress_module' do
Expand Down

0 comments on commit a04f151

Please sign in to comment.