Skip to content

Commit

Permalink
(WIN-231) Change curl_on command to add path to cacert bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
Erick Banks committed Nov 15, 2018
1 parent c20a1a3 commit d6fbd5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/support/utilities/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class {'chocolatey':
:acceptable_exit_codes => [0, 2]
}

curl_on(agent, "#{get_latest_chocholatey_download_url} > C:/chocolatey.nupkg")
curl_on(agent, "--cacert 'C:/Program Files/Puppet Labs/Puppet/puppet/ssl/cert.pem' #{get_latest_chocholatey_download_url} > C:/chocolatey.nupkg")

execute_manifest_on(agent, chocolatey_pp, opts) do |result|
assert_no_match(/Error:/, result.stderr, 'Unexpected error was detected!')
Expand Down

0 comments on commit d6fbd5f

Please sign in to comment.