Break out openstack_project::server from zuul_merger.pp
This should be setup in site.pp, like all our other nodes. Change-Id: I790f59d870ac70340bc43b9ebf53f6ce93fd5f46 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
2a6d361d81
commit
79523f0204
@ -1106,13 +1106,17 @@ node /^zl\d+\.openstack\.org$/ {
|
||||
# Node-OS: trusty
|
||||
node /^zm\d+\.openstack\.org$/ {
|
||||
$group = "zuul-merger"
|
||||
class { 'openstack_project::server':
|
||||
iptables_public_tcp_ports => [80],
|
||||
sysadmins => hiera('sysadmins', []),
|
||||
}
|
||||
|
||||
class { 'openstack_project::zuul_merger':
|
||||
gearman_server => 'zuul.openstack.org',
|
||||
gerrit_server => 'review.openstack.org',
|
||||
gerrit_user => 'jenkins',
|
||||
gerrit_ssh_host_key => hiera('gerrit_ssh_rsa_pubkey_contents'),
|
||||
zuul_ssh_private_key => hiera('zuul_ssh_private_key_contents'),
|
||||
sysadmins => hiera('sysadmins', []),
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -8,16 +8,9 @@ class openstack_project::zuul_merger(
|
||||
$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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user