Class: Chef::Knife::ArtifactoryInstall

Inherits:
Knife::SupermarketInstall
  • Object
show all
Defined in:
lib/chef/knife/knife_art_install.rb

Instance Method Summary collapse

Instance Method Details

#orig_download_cookbook_toObject



21
# File 'lib/chef/knife/knife_art_install.rb', line 21

alias_method :orig_download_cookbook_to, :download_cookbook_to

#orig_runObject



20
# File 'lib/chef/knife/knife_art_install.rb', line 20

alias_method :orig_run, :run

#runObject



23
24
25
26
27
# File 'lib/chef/knife/knife_art_install.rb', line 23

def run
  config[:artifactory_install] = true
  Chef::Log.debug("[KNIFE-ART] running site install with config: #{config}")
  orig_run
end