Make elastic_recheck git source and revision configurable

All others to override the version of elastic_recheck used.

Change-Id: I8572610a6fa7b934834186c51ca01bf4429b3726
This commit is contained in:
Ramy Asselin 2015-10-15 17:26:23 +00:00
parent 5e353fa822
commit 3111028c67

View File

@ -16,6 +16,8 @@
# service. # service.
# #
class elastic_recheck ( class elastic_recheck (
$git_source_repo = 'https://git.openstack.org/openstack-infra/elastic-recheck',
$revision = 'master',
) { ) {
# For all static page generation scripts we want to run them # For all static page generation scripts we want to run them
@ -42,8 +44,8 @@ class elastic_recheck (
vcsrepo { '/opt/elastic-recheck': vcsrepo { '/opt/elastic-recheck':
ensure => latest, ensure => latest,
provider => git, provider => git,
revision => 'master', revision => $revision,
source => 'https://git.openstack.org/openstack-infra/elastic-recheck', source => $git_source_repo,
} }
include ::pip include ::pip