lib/chef/provisioning/convergence_strategy/install_sh.rb in chef-provisioning-2.3.2 vs lib/chef/provisioning/convergence_strategy/install_sh.rb in chef-provisioning-2.4.0
- old
+ new
@@ -7,10 +7,10 @@
class ConvergenceStrategy
class InstallSh < PrecreateChefObjects
@@install_sh_cache = {}
def initialize(convergence_options, config)
- convergence_options = Cheffish::MergedConfig.new(convergence_options, {
+ convergence_options = Cheffish::MergedConfig.new(convergence_options.to_hash, {
:client_rb_path => '/etc/chef/client.rb',
:client_pem_path => '/etc/chef/client.pem'
})
super(convergence_options, config)
@client_rb_path ||= convergence_options[:client_rb_path]