provisioners/puppet: run in elevated mode on Win guests
This commit is contained in:
parent
29bb106c13
commit
6bd7359c1b
|
@ -159,7 +159,7 @@ module VagrantPlugins
|
|||
"vagrant.provisioners.puppet.running_puppet",
|
||||
manifest: config.manifest_file))
|
||||
|
||||
@machine.communicate.sudo(command, good_exit: [0,2]) do |type, data|
|
||||
@machine.communicate.sudo(command, elevated: true, good_exit: [0,2]) do |type, data|
|
||||
if !data.chomp.empty?
|
||||
@machine.ui.info(data.chomp)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue