From 815397eb3d00dae1a67c213d1dc86654f1387066 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Wed, 25 May 2016 15:06:05 -0700 Subject: [PATCH] Reload zuul launcher on project-config update Change-Id: I6966f8c2290267c2900dfc47a202a19c8f80f0b9 Depends-On: I12d273af0f4539113558f4ea665032f9f2907e31 --- .../manifests/zuul_launcher.pp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/modules/openstack_project/manifests/zuul_launcher.pp b/modules/openstack_project/manifests/zuul_launcher.pp index a6f6d9b8e5..5fc3d980f3 100644 --- a/modules/openstack_project/manifests/zuul_launcher.pp +++ b/modules/openstack_project/manifests/zuul_launcher.pp @@ -39,6 +39,23 @@ class openstack_project::zuul_launcher( base => $project_config_base, } + file { '/etc/jenkins_jobs': + ensure => directory, + } + + file { '/etc/jenkins_jobs/config': + ensure => directory, + owner => 'root', + group => 'root', + mode => '0755', + recurse => true, + purge => true, + force => true, + source => $::project_config::jenkins_job_builder_config_dir, + require => File['/etc/jenkins_jobs'], + notify => Exec['zuul-launcher-reload'], + } + class { '::zuul': vhost_name => $vhost_name, gearman_server => $gearman_server,