Merge pull request #3903 from emyl/puppet-elevated

provisioners/puppet: run in elevated mode on Win guests
This commit is contained in:
Mitchell Hashimoto 2014-05-26 08:11:38 -07:00
commit db35efb956
1 changed files with 1 additions and 1 deletions

View File

@ -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