Add zuul-launcher keytab to zl0(1-8) nodes

This is required to publish doc jobs to AFS with zuul.

Change-Id: Icfa8f83906f97e0ca98a240c0514289edacba0fb
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-09-16 18:05:56 -04:00
parent 27d13e00a0
commit 7c0a9f293d
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
2 changed files with 9 additions and 0 deletions

View File

@ -896,6 +896,7 @@ node /^zl\d+\.openstack\.org$/ {
project_config_repo => 'https://git.openstack.org/openstack-infra/project-config',
sysadmins => hiera('sysadmins', []),
sites => hiera('zuul_sites', []),
zuul_launcher_keytab => hiera('zuul_launcher_keytab'),
}
}

View File

@ -34,6 +34,7 @@ class openstack_project::zuul_launcher(
$sites = [],
$nodes = [],
$accept_nodes = '',
$zuul_launcher_keytab = '',
) {
class { '::project_config':
@ -41,6 +42,13 @@ class openstack_project::zuul_launcher(
base => $project_config_base,
}
file { '/etc/zuul-launcher.keytab':
owner => 'zuul',
group => 'zuul',
mode => '0400',
content => $zuul_launcher_keytab,
}
file { '/etc/jenkins_jobs':
ensure => directory,
}