Skip to content

Commit

Permalink
fixes #72. When the configuration JSON is updated the service won't c…
Browse files Browse the repository at this point in the history
…urrently notice. This will ensure changes are picked up
  • Loading branch information
dpetzel committed Nov 1, 2014
1 parent 349383c commit 4556d96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@
mode 0600
action :create
content JSON.pretty_generate(service_config, quirks_mode: true)
# https://github.com/johnbellone/consul-cookbook/issues/72
notifies :restart, "service[consul]"
end

case node['consul']['init_style']
Expand Down

0 comments on commit 4556d96

Please sign in to comment.