lib/chef/provisioning/convergence_strategy/install_sh.rb in chef-provisioning-1.7.1 vs lib/chef/provisioning/convergence_strategy/install_sh.rb in chef-provisioning-1.8.0
- old
+ new
@@ -37,9 +37,11 @@
if convergence_options[:bootstrap_proxy]
opts["http_proxy"] = convergence_options[:bootstrap_proxy]
opts["https_proxy"] = convergence_options[:bootstrap_proxy]
end
+ opts["omnibus_url"] = convergence_options[:install_sh_url] if convergence_options[:install_sh_url]
+
if convergence_options[:install_sh_arguments]
opts['install_flags'] = convergence_options[:install_sh_arguments]
end
install_command = Mixlib::Install::ScriptGenerator.new(chef_version, false, opts).install_command