fc98e36fe3
After some discussion in #openstack-infra using modules from puppetforge is a good thing. So, this is a simple change to use an existing module that I maintain. Change-Id: Ic2290ef10ff96220b6620958537730e828e59402 Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com> Reviewed-on: https://review.openstack.org/13959 Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: James E. Blair <corvus@inaugust.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
22 lines
437 B
Puppet
22 lines
437 B
Puppet
# A template host with no running services
|
|
class openstack_project::template (
|
|
$iptables_public_tcp_ports,
|
|
$install_users = true,
|
|
$certname = $fqdn
|
|
) {
|
|
include ssh
|
|
include snmpd
|
|
include unattended_upgrades
|
|
|
|
class { 'iptables':
|
|
public_tcp_ports => $iptables_public_tcp_ports,
|
|
}
|
|
|
|
class { 'ntp::server': }
|
|
|
|
class { 'openstack_project::base':
|
|
install_users => $install_users,
|
|
certname => $certname,
|
|
}
|
|
}
|