3776f952dc
Change-Id: Iafcd2e06c5b62e4cde5eccaab3173a20bb08a78d
24 lines
494 B
Puppet
24 lines
494 B
Puppet
# A template host with no running services
|
|
class openstack_project::template ($iptables_public_tcp_ports) {
|
|
include openstack_project::base
|
|
include ssh
|
|
include snmpd
|
|
include apt::unattended-upgrades
|
|
|
|
class { 'iptables':
|
|
public_tcp_ports => $iptables_public_tcp_ports,
|
|
}
|
|
|
|
package { "ntp":
|
|
ensure => installed
|
|
}
|
|
|
|
service { 'ntpd':
|
|
name => 'ntp',
|
|
ensure => running,
|
|
enable => true,
|
|
hasrestart => true,
|
|
require => Package['ntp'],
|
|
}
|
|
}
|