From de701f8f93a45e27f123af2748777854d16f7946 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Fri, 24 Aug 2012 10:44:27 -0700 Subject: [PATCH] Add url_pattern to zuul.conf. Change-Id: Ib1d05a42e98613e746cbd7865cd97ce25f6a26c0 Reviewed-on: https://review.openstack.org/11940 Approved: James E. Blair Reviewed-by: James E. Blair Tested-by: James E. Blair --- manifests/init.pp | 3 ++- templates/zuul.conf.erb | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 82af330..b4272d7 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -3,7 +3,8 @@ class zuul ( $jenkins_user, $jenkins_apikey, $gerrit_server, - $gerrit_user + $gerrit_user, + $url_pattern ) { $packages = ["python-webob", "python-daemon", diff --git a/templates/zuul.conf.erb b/templates/zuul.conf.erb index 51f8c4b..490a409 100644 --- a/templates/zuul.conf.erb +++ b/templates/zuul.conf.erb @@ -14,3 +14,4 @@ log_config=/etc/zuul/logging.conf state_dir=/var/lib/zuul git_dir=/var/lib/zuul/git push_change_refs=true +url_pattern=<%= url_pattern %>