lib/rundock/builder/operation_builder.rb in rundock-0.2.7 vs lib/rundock/builder/operation_builder.rb in rundock-0.2.8
- old
+ new
@@ -18,12 +18,16 @@
scen.nodes.push(node) if node
n.deep_symbolize_keys.each do |k, v|
if k == :node
node_attribute.finalize_node
- backend = BackendBuilder.new(@options, v, node_info).build
+ builder = BackendBuilder.new(@options, v, node_info)
+ backend = builder.build
+
node = Node.new(v, backend)
node_attribute.nodename = v
+ node_attribute.nodeinfo = builder.parsed_options
+
if @options[:command]
node.add_operation(build_cli_command_operation(@options[:command], @options))
end
else
if @options[:command] && (k == :command || k == :task)