Class: Chef::Knife::HardwareShow

Inherits:
Chef::Knife show all
Includes:
HardwareBase
Defined in:
lib/chef/knife/hardware_show.rb

Instance Method Summary collapse

Methods included from HardwareBase

#getUuid

Instance Method Details

#runObject



28
29
30
31
32
33
34
# File 'lib/chef/knife/hardware_show.rb', line 28

def run
  uuid = getUuid()
  dbshow = Chef::Knife::DataBagShow.new
  puts "Showing data bag item hardware #{uuid}"
  dbshow.name_args = ['hardware', uuid]
  dbshow.run
end