a2c8473fe4
Change-Id: Ib1d05a42e98613e746cbd7865cd97ce25f6a26c0 Reviewed-on: https://review.openstack.org/11940 Approved: James E. Blair <corvus@inaugust.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Tested-by: James E. Blair <corvus@inaugust.com>
35 lines
912 B
Puppet
35 lines
912 B
Puppet
class openstack_project::zuul(
|
|
$jenkins_server,
|
|
$jenkins_user,
|
|
$jenkins_apikey,
|
|
$gerrit_server,
|
|
$gerrit_user,
|
|
$url_pattern
|
|
) {
|
|
|
|
class { "::zuul":
|
|
jenkins_server => $jenkins_server,
|
|
jenkins_user => $jenkins_user,
|
|
jenkins_apikey => $jenkins_apikey,
|
|
gerrit_server => $gerrit_server,
|
|
gerrit_user => $gerrit_user,
|
|
url_pattern => $url_pattern
|
|
}
|
|
|
|
file { "/etc/zuul/layout.yaml":
|
|
ensure => 'present',
|
|
source => 'puppet:///modules/openstack_project/zuul/layout.yaml',
|
|
notify => Exec['zuul-reload'],
|
|
}
|
|
file { "/etc/zuul/openstack_functions.py":
|
|
ensure => 'present',
|
|
source => 'puppet:///modules/openstack_project/zuul/openstack_functions.py',
|
|
notify => Exec['zuul-reload'],
|
|
}
|
|
file { "/etc/zuul/logging.conf":
|
|
ensure => 'present',
|
|
source => 'puppet:///modules/openstack_project/zuul/logging.conf',
|
|
notify => Exec['zuul-reload'],
|
|
}
|
|
}
|