Add $site_variables_yaml_file to zuul::executor
Change-Id: I2a5d65b6f43a3866f1f10e47cb545f70397739f0 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
90df637aaa
commit
066bd3b748
@ -19,6 +19,7 @@
|
||||
class zuul::executor (
|
||||
$ensure = undef,
|
||||
$manage_log_conf = true,
|
||||
$site_variable_yaml_file = undef,
|
||||
) {
|
||||
include ::apt
|
||||
apt::ppa { 'ppa:openstack-ci-core/bubblewrap': }
|
||||
@ -58,6 +59,18 @@ class zuul::executor (
|
||||
}
|
||||
}
|
||||
|
||||
if $site_variable_yaml_file != undef {
|
||||
file { '/etc/zuul/site-variables.yaml':
|
||||
ensure => file,
|
||||
group => 'zuul',
|
||||
mode => '0644',
|
||||
owner => 'zuul',
|
||||
replace => true,
|
||||
require => File['/etc/zuul'],
|
||||
source => $site_variable_yaml_file,
|
||||
}
|
||||
}
|
||||
|
||||
include ::logrotate
|
||||
::logrotate::file { 'executor.log':
|
||||
log => '/var/log/zuul/executor.log',
|
||||
|
Loading…
x
Reference in New Issue
Block a user