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