From 87778caaee6394b905bb1442235b078872bb08e2 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Mon, 24 Sep 2012 16:17:14 +0200 Subject: [PATCH] zuul can now be installed from a different git repo $git_source_repo is a new optional parameter to the zuul class, let you specify from which repository you want to install zuul. The default is the maintainer version on GitHub. The reason for this change is that some third party always hosts their software on their own infrastructure. That is the case of the Wikimedia Foundation which is reusing this module. Change-Id: I5ac8852b08d158ff3531f6795855df20a204789e Reviewed-on: https://review.openstack.org/13576 Reviewed-by: Clark Boylan Approved: Monty Taylor Reviewed-by: Monty Taylor Tested-by: Jenkins --- modules/zuul/manifests/init.pp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/zuul/manifests/init.pp b/modules/zuul/manifests/init.pp index b4272d7463..e2d4ea0215 100644 --- a/modules/zuul/manifests/init.pp +++ b/modules/zuul/manifests/init.pp @@ -4,7 +4,8 @@ class zuul ( $jenkins_apikey, $gerrit_server, $gerrit_user, - $url_pattern + $url_pattern, + $git_source_repo='https://github.com/openstack-ci/zuul.git' ) { $packages = ["python-webob", "python-daemon", @@ -27,7 +28,7 @@ class zuul ( ensure => latest, provider => git, revision => "master", - source => "https://github.com/openstack-ci/zuul.git", + source => $git_source_repo, } exec { "install_zuul":