73aadfd49f
Apply the review.o.o ssh rsa host key to all of our active zuul servers. Update the ip addresses in that host key entry to reflect the current server's IP addrs too. Change-Id: I147ff0b9547f2cee36d7c56c8f5352ece8a4ec82
30 lines
1.0 KiB
Puppet
30 lines
1.0 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",
|
|
$git_email = 'jenkins@openstack.org',
|
|
$git_name = 'OpenStack Jenkins',
|
|
$revision = 'master',
|
|
$manage_common_zuul = true,
|
|
) {
|
|
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,104.130.246.32,2001:4800:7819:103:be76:4eff:fe04:9229 ${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 => $manage_common_zuul,
|
|
revision => $revision,
|
|
}
|
|
}
|