9c465131db
This change will convert kdc03 to a master from a hot standby and will remove kdc01 from management. Cutover plan: Disable kdc01 in ansible emergeny file Stop run-kprop cron on kdc01 Stop kadmind on kdc01 Execute run-kprop.sh on kdc01 Merge this change Wait for puppet to convert kdc03 to the master Confirm that run-kprop works from kdc03 to kdc04 Update dns records as documented in our kerberos docs Test kadmin works Delete old kdc01 server Change-Id: Ib14b11fa1f0a6bc11b0f615ce5b6f6be214b5629
34 lines
887 B
Puppet
34 lines
887 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 => [
|
|
'kdc03.openstack.org',
|
|
'kdc04.openstack.org',
|
|
],
|
|
}
|
|
}
|
|
|
|
}
|