Merge pull request #3959 from benh57/master

provisioners/puppet: Backtick-escape the facter env command in powershell. Fixes issue 3958
This commit is contained in:
Mitchell Hashimoto 2014-06-02 22:05:14 -07:00
commit 8cd073b148
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ module VagrantPlugins
# If we're on Windows, we need to use the PowerShell style
if windows?
facts.map! { |v| "$env:#{v};" }
facts.map! { |v| "`$env:#{v};" }
end
facter = "#{facts.join(" ")} "