Add E-R repo and revision to class
The openstack_health class has been recently extended to include deployment to E-R, a new data source for OpenStack Health. The E-R repo and revions are hardcoded in the class, which prevents using the new E-R feature in downstream deployments that have an own E-R repo. Adding repo and revision at class level solves that. Change-Id: Ifde71192f0cc618480be95feb77e712f8c27356bchanges/24/319824/1
parent
a718005b05
commit
d857d6fc44
|
@ -16,6 +16,8 @@ class openstack_health::api(
|
|||
$vhost_port = 5000,
|
||||
$ignored_run_metadata_keys = undef,
|
||||
$elastic_recheck_dir = '/opt/elastic-recheck',
|
||||
$elastic_recheck_repo = 'https://git.openstack.org/openstack-infra/elastic-recheck',
|
||||
$elastic_recheck_revision = 'master',
|
||||
) {
|
||||
|
||||
include ::httpd::mod::wsgi
|
||||
|
@ -52,8 +54,8 @@ class openstack_health::api(
|
|||
owner => 'openstack_health',
|
||||
group => 'openstack_health',
|
||||
provider => git,
|
||||
revision => 'master',
|
||||
source => 'https://git.openstack.org/openstack-infra/elastic-recheck',
|
||||
revision => $elastic_recheck_revision,
|
||||
source => $elastic_recheck_repo,
|
||||
require => Class['::openstack_health::user'],
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue