Reload zuul launcher on project-config update

Change-Id: I6966f8c2290267c2900dfc47a202a19c8f80f0b9
Depends-On: I12d273af0f4539113558f4ea665032f9f2907e31
This commit is contained in:
James E. Blair 2016-05-25 15:06:05 -07:00
parent 29300631bc
commit 815397eb3d

View File

@ -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,