Add AFS and Admin keytab to release slave.

This patch adds AFS, and the admin keytab, to our release slave,
so that we may execute `vos release` when a mirror update
is requested.

Change-Id: I9c8531304fb74b9bafca85d58b5e9c1c0bc21f6a
This commit is contained in:
Michael Krotscheck 2016-01-28 05:33:36 -08:00
parent b107426201
commit 13d54fdc05
2 changed files with 10 additions and 0 deletions

View File

@ -895,6 +895,7 @@ node 'release.slave.openstack.org' {
npm_username => 'openstackci',
npm_userpassword => hiera('npm_user_password'),
npm_userurl => 'https://openstack.org',
admin_keytab => hiera('afsadmin_keytab'),
}
}

View File

@ -31,12 +31,21 @@ class openstack_project::release_slave (
$npm_username,
$npm_userpassword,
$npm_userurl,
$admin_keytab = '',
) {
class { 'openstack_project::slave':
ssh_key => $jenkins_ssh_public_key,
jenkins_gitfullname => $jenkins_gitfullname,
jenkins_gitemail => $jenkins_gitemail,
project_config_repo => $project_config_repo,
afs => true,
}
file { '/etc/afsadmin.keytab':
owner => 'root',
group => 'root',
mode => '0400',
content => $admin_keytab,
}
package { 'twine':