Class: KnifeSolo::Bootstraps::SunOS

Inherits:
Base
  • Object
show all
Defined in:
lib/knife-solo/bootstraps/sun_os.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #run_pre_bootstrap_checks

Methods included from InstallCommands

#distro, #gem_install, #gem_options, #gem_packages, #http_client_get_url, #install_ohai_hints, #omnibus_install, #omnibus_options

Methods included from Delegates

#chef_version, #prepare, #run_command, #stream_command, #ui

Constructor Details

This class inherits a constructor from KnifeSolo::Bootstraps::Base

Instance Method Details

#bootstrap!Object



3
4
5
6
7
# File 'lib/knife-solo/bootstraps/sun_os.rb', line 3

def bootstrap!
  stream_command "sudo pkg install network/rsync web/ca-bundle"
  stream_command "sudo bash -c 'echo ca_certificate=/etc/cacert.pem >> /etc/wgetrc'"
  omnibus_install
end