Add statsd_prefix to nodepool_launcher.pp

As part of our zuulv3 effort, we want to start testing statsd from
nodepool-launcher. Expose the ability to prefix our requests, as not
to affect production data.

Change-Id: I943df7789cfa6c69f5c5d360c9b80af6328ca878
Depends-On: I8bef6aae5a566ff3a34e816ece14f9cfc1ef289d
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-03-10 10:52:01 -05:00
parent 02c7e38b4e
commit 03ae9a6fbf
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@ class openstackci::nodepool_launcher (
$git_source_repo = 'https://git.openstack.org/openstack-infra/nodepool',
$revision = 'master',
$statsd_host = '',
$statsd_prefix = undef,
$project_config_repo = '',
$project_config_base = undef,
$launcher_logging_conf_template = 'nodepool/nodepool-launcher.logging.conf.erb',
@ -50,6 +51,7 @@ class openstackci::nodepool_launcher (
class { '::nodepool::launcher':
statsd_host => $statsd_host,
statsd_prefix => $statsd_prefix,
launcher_logging_conf_template => $launcher_logging_conf_template,
}