system-config/modules/openstack_project/manifests/server.pp
James E. Blair 9130d036f5 Set AFS cache size to 50G on mirrors
Change-Id: I2cbb453156aef28722b3c8a51bf221d8da8b7e23
2016-01-23 19:45:59 -08:00

57 lines
2.1 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,
$enable_unbound = true,
$afs = false,
$afs_cache_size = 500000,
$puppetmaster_server = 'puppetmaster.openstack.org',
$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',
'mirror.bhs1.ovh.openstack.org',
'mirror.dfw.rax.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':
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,
enable_unbound => $enable_unbound,
afs => $afs,
afs_cache_size => $afs_cache_size,
manage_exim => $manage_exim,
sysadmins => $sysadmins,
pypi_index_url => $pypi_index_url,
pypi_trusted_hosts => $pypi_trusted_hosts,
purge_apt_sources => true,
}
}