lib/rundock/builder/operation_builder.rb in rundock-0.5.7 vs lib/rundock/builder/operation_builder.rb in rundock-0.5.8

- old
+ new

@@ -73,10 +73,15 @@ @options[:host].split(',').each do |host| backend = BackendBuilder.new(@options, host, nil).build node = Node.new(host, backend) node.hooks = HookBuilder.new(@options).build(['all'], nil) node.add_operation( - build_cli_command_operation(@options[:command], Rundock::Attribute::NodeAttribute.new, @options)) + build_cli_command_operation( + @options[:command], + Rundock::Attribute::NodeAttribute.new, + @options + ) + ) scen.nodes.push(node) end scen end