Skip to content

Commit

Permalink
Fixes #55
Browse files Browse the repository at this point in the history
  • Loading branch information
spuder committed Aug 18, 2016
1 parent 4f788e2 commit ebfdf35
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion providers/tentacle.rb
Expand Up @@ -149,6 +149,7 @@
roles = new_resource.roles
environment = new_resource.environment
config_path = new_resource.config_path
service_name = service_name(instance)

verify_server(server)
verify_api_key(api_key)
Expand All @@ -168,7 +169,11 @@
notifies :restart, "windows_service[#{service_name}]", :delayed
end

new_resource.updated_by_last_action(actions_updated?([register_instance]))
service = windows_service service_name do
action :nothing
end

new_resource.updated_by_last_action(actions_updated?([register_instance, service]))
end

action :remove do
Expand Down

0 comments on commit ebfdf35

Please sign in to comment.