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,
|
2016-01-23 19:45:59 -08:00
|
|
|
$afs_cache_size = 500000,
|
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',
|
2016-02-24 10:50:08 -08:00
|
|
|
$purge_apt_sources = true,
|
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,
|
2016-01-23 19:45:59 -08:00
|
|
|
afs_cache_size => $afs_cache_size,
|
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,
|
2016-02-24 10:50:08 -08:00
|
|
|
purge_apt_sources => $purge_apt_sources,
|
2012-07-20 18:56:35 -07:00
|
|
|
}
|
|
|
|
}
|