2015-11-19 23:01:09 +00:00
|
|
|
require_relative "../../omnibus"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module Chef
|
|
|
|
module Cap
|
|
|
|
module Windows
|
|
|
|
module ChefInstall
|
2017-06-14 10:34:52 +00:00
|
|
|
def self.chef_install(machine, project, version, channel, omnibus_url, options = {})
|
|
|
|
command = Omnibus.ps_command(project, version, channel, omnibus_url, options)
|
2015-11-19 23:01:09 +00:00
|
|
|
machine.communicate.sudo(command)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|