We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install a python3 virtualenv without direct internet access. But use proxy to download packages from pypi
python::virtualenv { '/opt/myproject' : ensure => present, distribute => false, version => '36', owner => $system_user, group => 'myuser', cwd => '/opt/myproject', proxy => 'http://my_proxy:3128', virtualenv => 'virtualenv-3', require => User['myuser'], }
a timeout when installing/upgrading the pip package
a clean install
diff --git a/modules/python/manifests/virtualenv.pp b/modules/python/manifests/virtualenv.pp index ad526678f..8e99e8d81 100644 --- a/modules/python/manifests/virtualenv.pp +++ b/modules/python/manifests/virtualenv.pp @@ -125,7 +125,7 @@ define python::virtualenv ( $proxy_command = $proxy ? { false => '', - default => "&& export http_proxy=${proxy}", + default => "&& export http_proxy=${proxy} https_proxy=${proxy}", } # Virtualenv versions prior to 1.7 do not support the
The text was updated successfully, but these errors were encountered:
7de58f4
Allow HTTP_PROXY on bootstrap and also fix voxpupuli#473
959a8dc
eb00ec8
No branches or pull requests
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce
install a python3 virtualenv without direct internet access. But use proxy to download packages from pypi
What are you seeing
a timeout when installing/upgrading the pip package
What behaviour did you expect instead
a clean install
Here is the diff to fix the issue:
The text was updated successfully, but these errors were encountered: