Use b.pypi.python.org pypi mirror instead of pypi.
Force easy_install to use b.pypi.python.org instead of pypi.python.org. Make pip fall back on b.pypi.python.org instead of pypi.python.org. Pypi proper has been extremely flaky lately. Use and an alternative to try and avoid this flakiness. Change-Id: I027f31bc30676b6f8cdc6342173263781251191d Reviewed-on: https://review.openstack.org/22492 Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Jeremy Stanley <fungi@yuggoth.org> Tested-by: Jenkins
This commit is contained in:
parent
4b8a775efe
commit
1bac243171
@ -1,3 +1,3 @@
|
|||||||
[global]
|
[global]
|
||||||
index-url = http://pypi.openstack.org
|
index-url = http://pypi.openstack.org
|
||||||
extra-index-url = http://pypi.python.org/simple
|
extra-index-url = http://b.pypi.python.org/simple
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
[easy_install]
|
[easy_install]
|
||||||
index_url = http://pypi.openstack.org
|
index_url = http://b.pypi.python.org/simple
|
||||||
|
@ -52,7 +52,11 @@ class jenkins::jenkinsuser(
|
|||||||
}
|
}
|
||||||
|
|
||||||
file { '/home/jenkins/.pydistutils.cfg':
|
file { '/home/jenkins/.pydistutils.cfg':
|
||||||
ensure => absent,
|
ensure => present,
|
||||||
|
owner => 'jenkins',
|
||||||
|
group => 'jenkins',
|
||||||
|
mode => '0640',
|
||||||
|
source => 'puppet:///modules/jenkins/pydistutils.cfg',
|
||||||
require => File['/home/jenkins'],
|
require => File['/home/jenkins'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user