Skip to content

Commit

Permalink
Merge pull request redhat-openstack#238 from mhaskel/windows_cert_fix
Browse files Browse the repository at this point in the history
Install certs on windows
  • Loading branch information
cyberious committed Oct 24, 2014
2 parents 644fb1b + 624ae75 commit fe9730a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
c.before :suite do
# Install module and dependencies
hosts.each do |host|
if fact_on(host, 'osfamily') == 'windows'
on host, 'powershell.exe -command "(New-Object System.Net.Webclient).DownloadString(\'https://forge.puppetlabs.com\')"'
end

on host, "mkdir -p #{host['distmoduledir']}/concat"
result = on host, "echo #{host['distmoduledir']}/concat"
target = result.raw_output.chomp
Expand Down

0 comments on commit fe9730a

Please sign in to comment.