lib/ridley/resources/node_resource.rb in ridley-1.3.1 vs lib/ridley/resources/node_resource.rb in ridley-1.3.2

- old
+ new

@@ -101,9 +101,11 @@ # @param [String] host # # @return [HostConnector::Response] def chef_run(host) host_commander.chef_client(host, ssh: ssh, winrm: winrm) + rescue Errors::HostConnectionError => ex + abort(ex) end # Puts a secret on the host using the best worker available for # the given host. #