
The code is switching from relying on metadata based groups to dynamically created groups with add_host. As such, the group containing gerrit is now 'gerrit'. Change-Id: I235e445f9e0f7e94f52a0c9dfc0df80b55d49bc1
17 lines
496 B
Django/Jinja
17 lines
496 B
Django/Jinja
class infra-ansible::profiles::zuul {
|
|
class { '::project_config':
|
|
url => 'git://git.openstack.org/openstack-infra/project-config'
|
|
}
|
|
|
|
class { '::zuul':
|
|
gerrit_server => '{{ groups['gerrit'][0] }}',
|
|
gerrit_user => 'gerrit',
|
|
zuul_ssh_private_key => hiera('zuul_ssh_private_key_contents'),
|
|
zuul_url => 'http://{{ groups['meta-infra_type_zuul'][0] }}/p',
|
|
}
|
|
|
|
class { '::zuul::server':
|
|
layout_dir => $::project_config::zuul_layout_dir
|
|
}
|
|
}
|