23dff8a2c6
We want to actually run PyPI mirrors on a per-region basis. To do that, we need to configure machines to run such things. Change-Id: I96955d78783c0db31ace52146834f4e6b8e1fde4
17 lines
332 B
Puppet
17 lines
332 B
Puppet
# == Class: openstack_project::pypi
|
|
#
|
|
class openstack_project::pypi (
|
|
$vhost_name = $::fqdn,
|
|
$sysadmins = [],
|
|
) {
|
|
|
|
class { 'openstack_project::server':
|
|
iptables_public_tcp_ports => [22, 80],
|
|
sysadmins => $sysadmins,
|
|
}
|
|
|
|
class { 'openstack_project::pypi_mirror':
|
|
vhost_name => $vhost_name,
|
|
}
|
|
}
|