
Current pypi mirror selection uses the actual cloud region from nodepool, so the attempt to hide the default region name used by bluebox does not work here. In the future, we will alter the format of pypi mirrors to something like mirror.<region>.<cloud>.openstack.org, but that's a bigger job. Today, just go with regionone so we can start using bluebox. Change-Id: I575d3982a2c335054511492b1e664cfd17ab392a
42 lines
1.5 KiB
Puppet
42 lines
1.5 KiB
Puppet
# == Class: openstack_project::server
|
|
#
|
|
# A server that we expect to run for some time
|
|
class openstack_project::server (
|
|
$iptables_public_tcp_ports = [],
|
|
$iptables_public_udp_ports = [],
|
|
$iptables_rules4 = [],
|
|
$iptables_rules6 = [],
|
|
$sysadmins = [],
|
|
$certname = $::fqdn,
|
|
$pin_puppet = '3.',
|
|
$ca_server = undef,
|
|
$afs = false,
|
|
$puppetmaster_server = 'puppetmaster.openstack.org',
|
|
$manage_exim = true,
|
|
$pypi_index_url = 'https://pypi.python.org/simple',
|
|
$pypi_trusted_hosts = [
|
|
'pypi.dfw.openstack.org',
|
|
'pypi.gra1.openstack.org',
|
|
'pypi.iad.openstack.org',
|
|
'pypi.ord.openstack.org',
|
|
'pypi.region-b.geo-1.openstack.org',
|
|
'pypi.regionone.openstack.org',
|
|
],
|
|
) {
|
|
class { 'openstack_project::template':
|
|
iptables_public_tcp_ports => $iptables_public_tcp_ports,
|
|
iptables_public_udp_ports => $iptables_public_udp_ports,
|
|
iptables_rules4 => $iptables_rules4,
|
|
iptables_rules6 => $iptables_rules6,
|
|
certname => $certname,
|
|
pin_puppet => $pin_puppet,
|
|
ca_server => $ca_server,
|
|
puppetmaster_server => $puppetmaster_server,
|
|
afs => $afs,
|
|
manage_exim => $manage_exim,
|
|
sysadmins => $sysadmins,
|
|
pypi_index_url => $pypi_index_url,
|
|
pypi_trusted_hosts => $pypi_trusted_hosts,
|
|
}
|
|
}
|