2012-11-15 14:25:13 -08:00
|
|
|
# == Class: openstack_project::server
|
|
|
|
#
|
2012-07-20 18:56:35 -07:00
|
|
|
# A server that we expect to run for some time
|
2012-08-05 13:02:21 -05:00
|
|
|
class openstack_project::server (
|
|
|
|
$iptables_public_tcp_ports = [],
|
2013-07-17 15:25:56 +00:00
|
|
|
$iptables_public_udp_ports = [],
|
2012-11-29 15:58:31 -08:00
|
|
|
$iptables_rules4 = [],
|
|
|
|
$iptables_rules6 = [],
|
2012-09-06 10:32:48 -07:00
|
|
|
$sysadmins = [],
|
2014-03-28 00:11:10 -07:00
|
|
|
$certname = $::fqdn,
|
2014-09-10 13:17:45 -07:00
|
|
|
$pin_puppet = '3.',
|
2014-07-02 14:34:36 -07:00
|
|
|
$ca_server = undef,
|
2015-11-16 19:28:21 -08:00
|
|
|
$enable_unbound = true,
|
2014-10-18 16:22:52 -07:00
|
|
|
$afs = false,
|
2015-03-16 13:27:20 +01:00
|
|
|
$puppetmaster_server = 'puppetmaster.openstack.org',
|
2015-05-14 16:48:10 -07:00
|
|
|
$manage_exim = true,
|
2015-06-10 07:47:11 +02:00
|
|
|
$pypi_index_url = 'https://pypi.python.org/simple',
|
|
|
|
$pypi_trusted_hosts = [
|
2015-12-04 06:01:12 -08:00
|
|
|
'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',
|
2016-01-22 10:17:29 -08:00
|
|
|
'mirror.dfw.rax.openstack.org',
|
2015-12-04 06:01:12 -08:00
|
|
|
'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',
|
2015-06-10 07:47:11 +02:00
|
|
|
],
|
2012-09-06 10:32:48 -07:00
|
|
|
) {
|
2012-07-20 18:56:35 -07:00
|
|
|
class { 'openstack_project::template':
|
2012-08-05 13:02:21 -05:00
|
|
|
iptables_public_tcp_ports => $iptables_public_tcp_ports,
|
2013-07-17 15:25:56 +00:00
|
|
|
iptables_public_udp_ports => $iptables_public_udp_ports,
|
2012-11-29 15:58:31 -08:00
|
|
|
iptables_rules4 => $iptables_rules4,
|
|
|
|
iptables_rules6 => $iptables_rules6,
|
2012-11-15 14:25:13 -08:00
|
|
|
certname => $certname,
|
2014-03-28 00:11:10 -07:00
|
|
|
pin_puppet => $pin_puppet,
|
2014-07-02 14:34:36 -07:00
|
|
|
ca_server => $ca_server,
|
2015-03-16 13:27:20 +01:00
|
|
|
puppetmaster_server => $puppetmaster_server,
|
2015-11-16 19:28:21 -08:00
|
|
|
enable_unbound => $enable_unbound,
|
2014-10-18 16:22:52 -07:00
|
|
|
afs => $afs,
|
2015-05-14 16:48:10 -07:00
|
|
|
manage_exim => $manage_exim,
|
|
|
|
sysadmins => $sysadmins,
|
2015-06-10 07:47:11 +02:00
|
|
|
pypi_index_url => $pypi_index_url,
|
|
|
|
pypi_trusted_hosts => $pypi_trusted_hosts,
|
2016-01-14 18:56:24 +00:00
|
|
|
purge_apt_sources => true,
|
2012-07-20 18:56:35 -07:00
|
|
|
}
|
|
|
|
}
|