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,
|
|
|
|
$pin_puppet = '2.7.',
|
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,
|
2012-07-20 18:56:35 -07:00
|
|
|
}
|
|
|
|
class { 'exim':
|
2012-11-15 14:25:13 -08:00
|
|
|
sysadmin => $sysadmins,
|
2012-07-20 18:56:35 -07:00
|
|
|
}
|
|
|
|
}
|