Permalink
Browse files

Fix notification reference to runit service, delay notification until

end of chef run
  • Loading branch information...
1 parent 4b8b5ba commit ba150790d1877c1273b7918e3ab4f626a442f79d @awestendorf awestendorf committed Jun 19, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 recipes/default.rb
View
@@ -5,7 +5,7 @@
git node["statsd"]["dir"] do
repository node["statsd"]["repository"]
action :sync
- notifies :restart, "runit_service[statsd]"
+ notifies :restart, "service[statsd]", :delayed
end
directory node["statsd"]["conf_dir"] do
@@ -30,7 +30,7 @@
:prefix_gauge => node["statsd"]["graphite"]["prefix_gauge"],
:prefix_set => node["statsd"]["graphite"]["prefix_set"]
)
- notifies :restart, "runit_service[statsd]"
+ notifies :restart, "service[statsd]", :delayed
end
user node["statsd"]["username"] do

0 comments on commit ba15079

Please sign in to comment.