From 3111028c67f2ad19156d22b6fd5d9ad2074eb814 Mon Sep 17 00:00:00 2001 From: Ramy Asselin Date: Thu, 15 Oct 2015 17:26:23 +0000 Subject: [PATCH] Make elastic_recheck git source and revision configurable All others to override the version of elastic_recheck used. Change-Id: I8572610a6fa7b934834186c51ca01bf4429b3726 --- manifests/init.pp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 328d28f..c34bb80 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -16,6 +16,8 @@ # service. # 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 @@ -42,8 +44,8 @@ class elastic_recheck ( vcsrepo { '/opt/elastic-recheck': ensure => latest, provider => git, - revision => 'master', - source => 'https://git.openstack.org/openstack-infra/elastic-recheck', + revision => $revision, + source => $git_source_repo, } include ::pip