63f0890579
Puppet doesn't allow non unique namevars. Having mutliple rsyslog service definitions violates this rule. Work around this by consolidating all rsyslog configs in openstack_project::template. In the process of doing this it became apparent that the ensure whoopsie was absent resource should be consolidated in to template.pp as well so this was done as part of the larger consolidation. Change-Id: I7effed7bacb85386f0cf36edffe442e2cad944d0
23 lines
704 B
Puppet
23 lines
704 B
Puppet
# == Class: openstack_project::server
|
|
#
|
|
# A server that we expect to run for some time
|
|
class openstack_project::server (
|
|
$iptables_public_tcp_ports = [],
|
|
$iptables_public_udp_ports = [],
|
|
$iptables_rules4 = [],
|
|
$iptables_rules6 = [],
|
|
$sysadmins = [],
|
|
$certname = $::fqdn
|
|
) {
|
|
class { 'openstack_project::template':
|
|
iptables_public_tcp_ports => $iptables_public_tcp_ports,
|
|
iptables_public_udp_ports => $iptables_public_udp_ports,
|
|
iptables_rules4 => $iptables_rules4,
|
|
iptables_rules6 => $iptables_rules6,
|
|
certname => $certname,
|
|
}
|
|
class { 'exim':
|
|
sysadmin => $sysadmins,
|
|
}
|
|
}
|