Hi,
trying to work out the command to clear the run list of an existing node prior to updating with new one
I think this is the right direction but cannot get it to work - I assume anyone using Chef in a pipeline will already have this command working correctly ..
knife exec -E 'nodes.find(“name:SERVERNAME”) {|n| puts n.name; n.run_list.reset!; n.save}'
Any suggestions?
Thanks
David