diff --git a/manifests/site.pp b/manifests/site.pp index 39b9e1cc01..14a29addff 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -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'), } } diff --git a/modules/openstack_project/manifests/release_slave.pp b/modules/openstack_project/manifests/release_slave.pp index b727a44fbd..2eda3db24d 100644 --- a/modules/openstack_project/manifests/release_slave.pp +++ b/modules/openstack_project/manifests/release_slave.pp @@ -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':