Reuse the puppet-openstackci zuul scheduler class
Rather than maintaining a composition of classes that makes a zuul scheduler, just use openstackci::zuul_scheduler. Change-Id: I0456c1b84e24d5bc868a7d07b8cda81004d129f4
This commit is contained in:
parent
87280f92eb
commit
aa5fee69b3
@ -1,16 +1,3 @@
|
|||||||
class infra-ansible::profiles::zuul {
|
class infra-ansible::profiles::zuul {
|
||||||
class { '::project_config':
|
include openstackci::zuul_scheduler
|
||||||
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
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user