Clark Boylan 452760a49c Add kdc03.openstack.org
This new Xenial server is being added as a kerberos standby node but
will be used to replace kdc01 as the master once fully configured and
happy as a standby. This replaces the old trusty server.

Note that the server wasn't added to opendev.org as we don't have a
kerberos realm for that domain so that would be a separate activity for
the future.

Change-Id: I4cc5fcd7504c98a7bcd9dc4f2ad57bb5bf8b54bd
2019-02-22 10:30:57 -08:00

35 lines
918 B
Puppet

# == Class: openstack_project::server
#
# A server that we expect to run for some time
class openstack_project::server (
$pin_puppet = '3.',
$ca_server = undef,
$afs = false,
$afs_cache_size = 500000,
$pypi_index_url = 'https://pypi.python.org/simple',
) {
# Include ::apt while we work on the puppet->ansible transition
if ($::osfamily == 'Debian') {
include ::apt
}
###########################################################
# Process if ( $high_level_directive ) blocks
if $afs {
class { 'openafs::client':
cell => 'openstack.org',
realm => 'OPENSTACK.ORG',
admin_server => 'kdc.openstack.org',
cache_size => $afs_cache_size,
kdcs => [
'kdc01.openstack.org',
'kdc03.openstack.org',
'kdc04.openstack.org',
],
}
}
}