Method: ChefMetal::ConvergenceStrategy::InstallSh#initialize

Defined in:
lib/chef_metal/convergence_strategy/install_sh.rb

#initialize(options = {}) ⇒ InstallSh

Returns a new instance of InstallSh.



9
10
11
12
13
14
# File 'lib/chef_metal/convergence_strategy/install_sh.rb', line 9

def initialize(options = {})
  @install_sh_url = options[:install_sh_url] || 'http://www.opscode.com/chef/install.sh'
  @install_sh_path = options[:install_sh_path] || '/tmp/chef-install.sh'
  @client_rb_path ||= '/etc/chef/client.rb'
  @client_pem_path ||= '/etc/chef/client.pem'
end