lib/rundock/attribute/node_attribute.rb in rundock-0.4.10 vs lib/rundock/attribute/node_attribute.rb in rundock-0.4.11
- old
+ new
@@ -4,13 +4,15 @@
attr_accessor :nodename
attr_accessor :nodeinfo
attr_accessor :task_info
attr_accessor :errexit
attr_accessor :enable_hooks
+ attr_accessor :dry_run
AVAIL_TAKE_OVERS = [
:task_info,
- :errexit
+ :errexit,
+ :dry_run
]
def finalize_node
list.each do |k, _v|
define_attr(k, nil) unless AVAIL_TAKE_OVERS.include?(k)