lib/rundock/builder/operation_builder.rb in rundock-0.5.2 vs lib/rundock/builder/operation_builder.rb in rundock-0.5.3

- old
+ new

@@ -1,12 +1,8 @@ module Rundock module Builder class OperationBuilder < Base def build_first(scenario, targets, tasks, hooks) - if @options[:targetgroup] && !@options[:command] - raise CommandArgNotFoundError, %("--command or -c" option is required if targetgroup specified.) - end - parsing_node_attribute = nil scen = Scenario.new scen.tasks = tasks scenario.each do |sn|