Merge "List PyPI mirrors as trusted hosts everywhere"
This commit is contained in:
commit
bbb11cf0d6
@ -1,2 +1,7 @@
|
||||
[global]
|
||||
index-url = http://pypi.dfw.openstack.org/simple
|
||||
index-url = https://pypi.python.org/simple
|
||||
trusted-host =
|
||||
pypi.dfw.openstack.org
|
||||
pypi.iad.openstack.org
|
||||
pypi.ord.openstack.org
|
||||
pypi.region-b.geo-1.openstack.org
|
||||
|
@ -72,6 +72,13 @@ class openstack_project::base(
|
||||
provider => pip,
|
||||
require => Class['pip'],
|
||||
}
|
||||
file { '/etc/pip.conf':
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0444',
|
||||
source => 'puppet:///modules/openstack_project/pip.conf',
|
||||
replace => true,
|
||||
}
|
||||
|
||||
if ($install_users) {
|
||||
package { $::openstack_project::params::user_packages:
|
||||
|
Loading…
Reference in New Issue
Block a user