Class: Rundock::Target::Host
- Defined in:
- lib/rundock/plugin/target/host.rb
Constant Summary
Constants inherited from Base
Base::TargetNotImplementedError
Instance Attribute Summary
Attributes inherited from Base
#contents, #name, #parsed_options
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Rundock::Target::Base
Instance Method Details
#create_nodes(target_info = {}, options = {}) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/rundock/plugin/target/host.rb', line 6 def create_nodes(target_info = {}, = {}) backend_builder = Rundock::Builder::BackendBuilder.new(, @name, target_info) backend = backend_builder.build = { @name.to_sym => backend_builder. } [Array(Node.new(@name, backend)), ] end |