system-config/modules/openstack_project/manifests/template.pp
Russell Bryant 2e2211cf69 Allow specification of public UDP ports
The iptables class allowed specifying a list of public UDP ports,
just like it has support for TCP.  However, a couple of places needed
to be updated to pass through the UDP port list to make it usable.

Change-Id: I00764bf1d7baff862fa51a6cd03211fe9a29ecdd
2013-07-18 14:44:51 -04:00

39 lines
841 B
Puppet

# == Class: openstack_project::template
#
# A template host with no running services
#
class openstack_project::template (
$iptables_public_tcp_ports = [],
$iptables_public_udp_ports = [],
$iptables_rules4 = [],
$iptables_rules6 = [],
$install_users = true,
$certname = $::fqdn
) {
include ssh
include snmpd
include openstack_project::automatic_upgrades
class { 'iptables':
public_tcp_ports => $iptables_public_tcp_ports,
public_udp_ports => $iptables_public_udp_ports,
rules4 => $iptables_rules4,
rules6 => $iptables_rules6,
}
class { 'ntp': }
class { 'openstack_project::base':
install_users => $install_users,
certname => $certname,
}
package { 'strace':
ensure => present,
}
package { 'tcpdump':
ensure => present,
}
}