Skip to content

Commit

Permalink
Merge pull request chocolatey-archive#120 from ThoughtCrhyme/WIN-231
Browse files Browse the repository at this point in the history
(WIN-231) Change curl_on command to add path to cacert bundle
  • Loading branch information
RandomNoun7 authored Nov 15, 2018
2 parents c20a1a3 + d6fbd5f commit 1887a0b
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 1887a0b

Please sign in to comment.