Merge "Add entry for new PyPI mirrors"

This commit is contained in:
Jenkins 2014-09-05 20:37:28 +00:00 committed by Gerrit Code Review
commit e4796b411f
2 changed files with 24 additions and 0 deletions

View File

@ -384,6 +384,14 @@ node /^git\d+\.openstack\.org$/ {
}
}
# Machines in each region to run PyPI mirrors.
# Node-OS: precise
node /^pypi\..*\.openstack\.org$/ {
class { 'openstack_project::pypi':
sysadmins => hiera('sysadmins', []),
}
}
# A machine to run ODSREG in preparation for summits.
# Node-OS: precise
node 'summit.openstack.org' {

View File

@ -0,0 +1,16 @@
# == 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,
}
}