881c8f590f
Add the review.opendev.org hostname to the known_hosts files. Change-Id: I8b925053adaca7f47c647641466c0762b17776d9
30 lines
1.6 KiB
Puppet
30 lines
1.6 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.opendev.org]:29418,[review.openstack.org]:29418,[104.130.246.32]:29418,[2001:4800:7819:103:be76:4eff:fe04:9229]:29418 ${gerrit_ssh_host_key}\n[git.opendaylight.org]:29418,[52.35.122.251]:29418,[2600:1f14:421:f500:7b21:2a58:ab0a:2d17]:29418 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAyRXyHEw/P1iZr/fFFzbodT5orVV/ftnNRW59Zh9rnSY5Rmbc9aygsZHdtiWBERVVv8atrJSdZool75AglPDDYtPICUGWLR91YBSDcZwReh5S9es1dlQ6fyWTnv9QggSZ98KTQEuE3t/b5SfH0T6tXWmrNydv4J2/mejKRRLU2+oumbeVN1yB+8Uau/3w9/K5F5LgsDDzLkW35djLhPV8r0OfmxV/cAnLl7AaZlaqcJMA+2rGKqM3m3Yu+pQw4pxOfCSpejlAwL6c8tA9naOvBkuJk+hYpg5tDEq2QFGRX5y1F9xQpwpdzZROc5hdGYntM79VMMXTj+95dwVv/8yTsw==\n",
|
|
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,
|
|
}
|
|
}
|