system-config/modules/openstack_project/manifests/server.pp
Yolanda Robla 5eab48df71 Configure puppetmaster server from manifest
Currently the puppetmaster was hardcoded on a template.

Add the matching vars to the manifests that use them,
to make that setting configurable.

Change-Id: I2b641ec11284f325c22c242fabba26d0433bf85b
2015-03-17 09:38:17 +01:00

31 lines
1.0 KiB
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,
$pin_puppet = '3.',
$ca_server = undef,
$afs = false,
$puppetmaster_server = 'puppetmaster.openstack.org',
) {
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,
pin_puppet => $pin_puppet,
ca_server => $ca_server,
puppetmaster_server => $puppetmaster_server,
afs => $afs,
}
class { 'exim':
sysadmins => $sysadmins,
}
}