From 8132a95e7bdd9e9a59cbd5abca2708e68875bf76 Mon Sep 17 00:00:00 2001 From: Spencer Owen Date: Wed, 17 Aug 2016 18:02:58 -0600 Subject: [PATCH] Fixes #55 --- providers/tentacle.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/providers/tentacle.rb b/providers/tentacle.rb index 92799af..8c2de0c 100644 --- a/providers/tentacle.rb +++ b/providers/tentacle.rb @@ -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) @@ -168,6 +169,10 @@ notifies :restart, "windows_service[#{service_name}]", :delayed end + windows_service service_name do + action :nothing + end + new_resource.updated_by_last_action(actions_updated?([register_instance])) end