#getUuid
28 29 30 31 32 33 34 35
# File 'lib/chef/knife/hardware_edit.rb', line 28 def run uuid = getUuid() dbedit = Chef::Knife::DataBagEdit.new puts "Showing data bag item hardware #{uuid}" dbedit.config[:editor] = ENV['EDITOR'] dbedit.name_args = ['hardware', uuid] dbedit.run end