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:
parent
27d13e00a0
commit
7c0a9f293d
@ -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'),
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user