9bdf19978e
Depends-On: I48e49c760d5304bd7dd5b0bbbdaa27329b2d8a5f Change-Id: I98ab36cca49f8784fc93c46db69bc2a777a61938
34 lines
1.1 KiB
Puppet
34 lines
1.1 KiB
Puppet
# == Class: openstack_project::zuul_merger
|
|
#
|
|
class openstack_project::zuul_merger(
|
|
$vhost_name = $::fqdn,
|
|
$gearman_server = '127.0.0.1',
|
|
$gerrit_server = '',
|
|
$gerrit_user = '',
|
|
$gerrit_ssh_host_key = '',
|
|
$zuul_ssh_private_key = '',
|
|
$zuul_url = "http://${::fqdn}/p",
|
|
$sysadmins = [],
|
|
$git_email = 'jenkins@openstack.org',
|
|
$git_name = 'OpenStack Jenkins',
|
|
) {
|
|
|
|
class { 'openstack_project::server':
|
|
iptables_public_tcp_ports => [80],
|
|
sysadmins => $sysadmins,
|
|
}
|
|
|
|
class { 'openstackci::zuul_merger':
|
|
vhost_name => $vhost_name,
|
|
gearman_server => $gearman_server,
|
|
gerrit_server => $gerrit_server,
|
|
gerrit_user => $gerrit_user,
|
|
known_hosts_content => "review.openstack.org,23.253.232.87,2001:4800:7815:104:3bc3:d7f6:ff03:bf5d ${gerrit_ssh_host_key}",
|
|
zuul_ssh_private_key => $zuul_ssh_private_key,
|
|
zuul_url => $zuul_url,
|
|
git_email => $git_email,
|
|
git_name => $git_name,
|
|
manage_common_zuul => true,
|
|
}
|
|
}
|