From 39bb5b4d7b976d65ce5d661fde1485c47e4db6e1 Mon Sep 17 00:00:00 2001 From: K Jonathan Harker Date: Mon, 6 Apr 2015 12:10:18 -0700 Subject: [PATCH] Parameterize git revision of jeepyb Allow for the git revision to be set arbitrarily in addition to the source URI. Change-Id: I453dcb74b32939f76820736d1ccd064df8561ca2 --- manifests/init.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index d013c93..726c97b 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -2,6 +2,7 @@ # class jeepyb ( $git_source_repo = 'https://git.openstack.org/openstack-infra/jeepyb', + $git_revision = 'master', ) { include mysql::python @@ -40,7 +41,7 @@ class jeepyb ( vcsrepo { '/opt/jeepyb': ensure => latest, provider => git, - revision => 'master', + revision => $git_revision, source => $git_source_repo, }