1b02472e7d
* modules/openstack_project/manifests/template.pp: Some images we use, notably CentOS, lack strace and tcpdump which our Ubuntu images have by default. The package names are the same across the platforms we use, so it's safe to just ensure they're present everywhere and be done with it. Change-Id: I2fe9469c27ed8db8e718bb4923c45ad22491ed1c Reviewed-on: https://review.openstack.org/34270 Reviewed-by: Monty Taylor <mordred@inaugust.com> Approved: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
37 lines
754 B
Puppet
37 lines
754 B
Puppet
# == Class: openstack_project::template
|
|
#
|
|
# A template host with no running services
|
|
#
|
|
class openstack_project::template (
|
|
$iptables_public_tcp_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,
|
|
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,
|
|
}
|
|
}
|