Skip to content

Commit

Permalink
Merge pull request #306 from trickyearlobe/fix_305_install_fails_with…
Browse files Browse the repository at this point in the history
…_ssl_intercept

Possible fix for #305: Install fails on Linux when proxy does SSL int…
  • Loading branch information
Vasundhara Jagdale authored Jul 28, 2020
2 parents 7027802 + a9075f9 commit 0d9dafd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ChefExtensionHandler/bin/chef-install.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ $scriptDir = Chef-GetScriptDirectory
function Install-AzureChefExtensionGem($chefExtensionRoot) {
# Install the custom gem
Write-Host("[$(Get-Date)] Installing Azure-Chef-Extension gem")
gem install "$chefExtensionRoot\\gems\\*.gem" --no-document
gem install "$chefExtensionRoot\\gems\\*.gem" --local --no-document
Write-Host("[$(Get-Date)] Installed Azure-Chef-Extension gem successfully")
}

Expand Down
2 changes: 1 addition & 1 deletion ChefExtensionHandler/bin/chef-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ read_environment_variables $chef_extension_root
# install azure chef extension gem
install_chef_extension_gem(){
echo "[$(date)] Installing Azure Chef Extension gem"
gem install "$1" --no-document
gem install "$1" --local --no-document

if test $? -ne 0; then
echo "[$(date)] Azure Chef Extension gem installation failed"
Expand Down

0 comments on commit 0d9dafd

Please sign in to comment.