Skip to content

Commit

Permalink
Backtick-escape the facter env command in powershell. Fixes issue 3958
Browse files Browse the repository at this point in the history
  • Loading branch information
benh57 committed Jun 3, 2014
1 parent af43655 commit 7d52f0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/provisioners/puppet/provisioner/puppet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def run_puppet_apply

# 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(" ")} "
Expand Down

0 comments on commit 7d52f0e

Please sign in to comment.