Joined March 2012
·

Kevin Duane

Systems Enginerd at Walt Disney Parks and Resorts Online
·
Los Angeles
·
·
·

Will this also work for and automatic attribute (that OHAI sets)? Would you format like [:etc].delete(:passwd) ?

update: This model should work for automatic attributes

knife exec -E "nodes.transform(:all) { |n| n.automatic_attrs[:etc].delete(:passwd) rescue nil }"

Achievements
19 Karma
0 Total ProTip Views