Update pypi_trusted_hosts

This patch updates pypi trusted hosts for all nodes to
add mirror.<region>.openstack.org.

Change-Id: I64663b5b5c7063e840d6f2d11151766a5100af20
This commit is contained in:
Michael Krotscheck 2015-12-04 06:01:12 -08:00
parent dabf00782c
commit 2083eacd04
3 changed files with 40 additions and 16 deletions

View File

@ -281,6 +281,14 @@ cacti_hosts:
- pypi.ord.openstack.org
- pypi.region-b.geo-1.openstack.org
- pypi.regionone.openstack.org
- mirror.bhs1.ovh.openstack.org
- mirror.dfw.rackspace.openstack.org
- mirror.gra1.ovh.openstack.org
- mirror.iad.rax.openstack.org
- mirror.nyj01.internap.openstack.org
- mirror.ord.rax.openstack.org
- mirror.region-b.geo-1.hpcloud.openstack.org
- mirror.regionone.bluebox-sjc1.openstack.org
- release.slave.openstack.org
- review-dev.openstack.org
- review.openstack.org

View File

@ -16,14 +16,22 @@ class openstack_project::server (
$manage_exim = true,
$pypi_index_url = 'https://pypi.python.org/simple',
$pypi_trusted_hosts = [
'pypi.bhs1.openstack.org',
'pypi.dfw.openstack.org',
'pypi.gra1.openstack.org',
'pypi.iad.openstack.org',
'pypi.nyj01.openstack.org',
'pypi.ord.openstack.org',
'pypi.region-b.geo-1.openstack.org',
'pypi.regionone.openstack.org',
'pypi.bhs1.openstack.org',
'pypi.dfw.openstack.org',
'pypi.gra1.openstack.org',
'pypi.iad.openstack.org',
'pypi.nyj01.openstack.org',
'pypi.ord.openstack.org',
'pypi.region-b.geo-1.openstack.org',
'pypi.regionone.openstack.org',
'mirror.bhs1.ovh.openstack.org',
'mirror.dfw.rackspace.openstack.org',
'mirror.gra1.ovh.openstack.org',
'mirror.iad.rax.openstack.org',
'mirror.nyj01.internap.openstack.org',
'mirror.ord.rax.openstack.org',
'mirror.region-b.geo-1.hpcloud.openstack.org',
'mirror.regionone.bluebox-sjc1.openstack.org',
],
) {
class { 'openstack_project::template':

View File

@ -20,14 +20,22 @@ class openstack_project::template (
$sysadmins = [],
$pypi_index_url = 'https://pypi.python.org/simple',
$pypi_trusted_hosts = [
'pypi.bhs1.openstack.org',
'pypi.dfw.openstack.org',
'pypi.gra1.openstack.org',
'pypi.iad.openstack.org',
'pypi.nyj01.openstack.org',
'pypi.ord.openstack.org',
'pypi.region-b.geo-1.openstack.org',
'pypi.regionone.openstack.org',
'pypi.bhs1.openstack.org',
'pypi.dfw.openstack.org',
'pypi.gra1.openstack.org',
'pypi.iad.openstack.org',
'pypi.nyj01.openstack.org',
'pypi.ord.openstack.org',
'pypi.region-b.geo-1.openstack.org',
'pypi.regionone.openstack.org',
'mirror.bhs1.ovh.openstack.org',
'mirror.dfw.rackspace.openstack.org',
'mirror.gra1.ovh.openstack.org',
'mirror.iad.rax.openstack.org',
'mirror.nyj01.internap.openstack.org',
'mirror.ord.rax.openstack.org',
'mirror.region-b.geo-1.hpcloud.openstack.org',
'mirror.regionone.bluebox-sjc1.openstack.org',
],
$purge_apt_sources = false,
) {