Class: Rundock::Target::Group
- Defined in:
- lib/rundock/plugin/target/group.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 12 13 14 15 16 17 18 19 |
# File 'lib/rundock/plugin/target/group.rb', line 6 def create_nodes(target_info = {}, = {}) targets = @contents[:targets] nodes = [] targets.each do |n| backend_builder = Rundock::Builder::BackendBuilder.new(, n, target_info) backend = backend_builder.build [n.to_sym] = backend_builder. nodes << Node.new(n, backend) end [nodes, ] end |