Clean up openstack_project::server for kdc01 / kdc02
Move openstack_project::server into site.pp like other nodes, this was the old way of provisioning servers. Change-Id: If36ace9c377881e25d30e1f7f0184383b894ca17 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
154876b422
commit
0c09b73e13
@ -1625,16 +1625,25 @@ node 'single-node-ci.test.only' {
|
||||
|
||||
# Node-OS: trusty
|
||||
node 'kdc01.openstack.org' {
|
||||
class { 'openstack_project::kdc':
|
||||
sysadmins => hiera('sysadmins', []),
|
||||
class { 'openstack_project::server':
|
||||
iptables_public_tcp_ports => [88, 464, 749, 754],
|
||||
iptables_public_udp_ports => [88, 464, 749],
|
||||
sysadmins => hiera('sysadmins', []),
|
||||
}
|
||||
|
||||
class { 'openstack_project::kdc': }
|
||||
}
|
||||
|
||||
# Node-OS: trusty
|
||||
node 'kdc02.openstack.org' {
|
||||
class { 'openstack_project::server':
|
||||
iptables_public_tcp_ports => [88, 464, 749, 754],
|
||||
iptables_public_udp_ports => [88, 464, 749],
|
||||
sysadmins => hiera('sysadmins', []),
|
||||
}
|
||||
|
||||
class { 'openstack_project::kdc':
|
||||
sysadmins => hiera('sysadmins', []),
|
||||
slave => true,
|
||||
slave => true,
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,13 +1,7 @@
|
||||
# kerberos kdc servers
|
||||
class openstack_project::kdc (
|
||||
$slave = false,
|
||||
$sysadmins = [],
|
||||
) {
|
||||
class { 'openstack_project::server':
|
||||
iptables_public_tcp_ports => [88,464,749,754],
|
||||
iptables_public_udp_ports => [88,464,749],
|
||||
sysadmins => $sysadmins
|
||||
}
|
||||
class { 'kerberos::server':
|
||||
realm => 'OPENSTACK.ORG',
|
||||
kdcs => [
|
||||
|
Loading…
Reference in New Issue
Block a user