Method: ChefApply::Action::InstallChef#perform_local_install

Defined in:
lib/chef_apply/action/install_chef.rb

#perform_local_installObject



40
41
42
43
44
45
46
47
48
49
# File 'lib/chef_apply/action/install_chef.rb', line 40

def perform_local_install
  package = lookup_artifact
  notify(:downloading)
  local_path = download_to_workstation(package.url)
  notify(:uploading)
  remote_path = upload_to_target(local_path)
  notify(:installing)
  target_host.install_package(remote_path)
  notify(:install_complete)
end