Add statsd configuration to zuul.

And allow zuul to send to statsd.

Change-Id: Ie9f78268a673523c4ea4025bdbbe40d8d3819398
Reviewed-on: https://review.openstack.org/18658
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
This commit is contained in:
James E. Blair
2012-12-26 10:48:15 -08:00
committed by Jenkins
parent cfd1276ebc
commit 8250da7911
4 changed files with 23 additions and 3 deletions

View File

@@ -10,7 +10,8 @@ class openstack_project::zuul(
$gerrit_user = '',
$zuul_ssh_private_key = '',
$url_pattern = '',
$sysadmins = []
$sysadmins = [],
$statsd_host = ''
) {
$rules = [ "-m state --state NEW -m tcp -p tcp --dport 8001 -s ${jenkins_host} -j ACCEPT" ]