plugins/provisioners/chef/cap/redhat/chef_install.rb in vagrant-unbundled-1.9.7.1 vs plugins/provisioners/chef/cap/redhat/chef_install.rb in vagrant-unbundled-1.9.8.1

- old
+ new

@@ -3,19 +3,19 @@ module VagrantPlugins module Chef module Cap module Redhat module ChefInstall - def self.chef_install(machine, project, version, channel, options = {}) + def self.chef_install(machine, project, version, channel, omnibus_url, options = {}) machine.communicate.sudo <<-EOH.gsub(/^ {14}/, '') if command -v dnf; then dnf -y install curl else yum -y install curl fi EOH - command = Omnibus.sh_command(project, version, channel, options) + command = Omnibus.sh_command(project, version, channel, omnibus_url, options) machine.communicate.sudo(command) end end end end