Expose status_url parameter in zuul_prod/dev class signature

The status_url is not exposed in the signature, and it's
used a hardcoded value in the nested ::zuul class declaration.
This allows user to define their own value.

Change-Id: Ibf0aafaa4c7d86a5d3ba71018b93427e6a8c744e
Closes-Bug: 1387994
This commit is contained in:
Ricardo Carrillo Cruz 2014-10-31 09:53:30 +01:00
parent ff55bbcbfc
commit 171769a441
2 changed files with 4 additions and 2 deletions

View File

@ -8,6 +8,7 @@ class openstack_project::zuul_dev(
$gerrit_ssh_host_key = '',
$zuul_ssh_private_key = '',
$url_pattern = '',
$status_url = 'http://zuul-dev.openstack.org',
$zuul_url = '',
$sysadmins = [],
$statsd_host = '',
@ -43,7 +44,7 @@ class openstack_project::zuul_dev(
url_pattern => $url_pattern,
zuul_url => $zuul_url,
job_name_in_report => true,
status_url => 'http://zuul-dev.openstack.org/',
status_url => $status_url,
statsd_host => $statsd_host,
git_email => 'jenkins@openstack.org',
git_name => 'OpenStack Jenkins',

View File

@ -9,6 +9,7 @@ class openstack_project::zuul_prod(
$zuul_ssh_private_key = '',
$url_pattern = '',
$zuul_url = '',
$status_url = 'http://status.openstack.org/zuul/',
$swift_authurl = '',
$swift_auth_version = '',
$swift_user = '',
@ -45,7 +46,7 @@ class openstack_project::zuul_prod(
url_pattern => $url_pattern,
zuul_url => $zuul_url,
job_name_in_report => true,
status_url => 'http://status.openstack.org/zuul/',
status_url => $status_url,
statsd_host => $statsd_host,
git_email => 'jenkins@openstack.org',
git_name => 'OpenStack Jenkins',