20 lines
487 B
Ruby
20 lines
487 B
Ruby
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
require_relative "../../omnibus"
|
|
|
|
module VagrantPlugins
|
|
module Chef
|
|
module Cap
|
|
module Windows
|
|
module ChefInstall
|
|
def self.chef_install(machine, project, version, channel, omnibus_url, options = {})
|
|
command = Omnibus.ps_command(project, version, channel, omnibus_url, options)
|
|
machine.communicate.sudo(command)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|