Class: NodeSpec::CommunicationAdapters::Winrm
- Inherits:
-
Object
- Object
- NodeSpec::CommunicationAdapters::Winrm
- Defined in:
- lib/nodespec/communication_adapters/winrm.rb
Class Method Summary collapse
Class Method Details
.communicator_for(node_name, options = {}) ⇒ Object
6 7 8 9 10 |
# File 'lib/nodespec/communication_adapters/winrm.rb', line 6 def self.communicator_for(node_name, = {}) opts = .dup hostname = opts.delete('host') || node_name WinrmCommunicator.new(hostname, opts) end |