17 lines
392 B
Ruby
17 lines
392 B
Ruby
require_relative "../../omnibus"
|
|
|
|
module VagrantPlugins
|
|
module Chef
|
|
module Cap
|
|
module Windows
|
|
module ChefInstall
|
|
def self.chef_install(machine, project, version, channel, options = {})
|
|
command = Omnibus.ps_command(project, version, channel, options)
|
|
machine.communicate.sudo(command)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|