
The code is switching from relying on metadata based groups to dynamically created groups with add_host. As such, the group containing zuul is now 'zuul'. Change-Id: Ia1336382b489f16a18ca00a67f985d41aad57319
17 lines
480 B
Django/Jinja
17 lines
480 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['zuul'][0] }}/p',
|
|
}
|
|
|
|
class { '::zuul::server':
|
|
layout_dir => $::project_config::zuul_layout_dir
|
|
}
|
|
}
|