Chef::Knife
# File lib/chef/knife/node_from_file.rb, line 33 def loader @loader ||= Knife::Core::ObjectLoader.new(Chef::Node, ui) end
# File lib/chef/knife/node_from_file.rb, line 37 def run updated = loader.load_from('nodes', @name_args[0]) updated.save output(format_for_display(updated)) if config[:print_after] ui.info("Updated Node #{updated.name}!") end
[Validate]
Generated with the Darkfish Rdoc Generator 2.