Merge "Add python2-statsd for haproxy stats"

This commit is contained in:
Zuul 2018-06-12 02:11:48 +00:00 committed by Gerrit Code Review
commit f18b0e83b4

View File

@ -148,6 +148,13 @@ class openstack_project::git (
notify => Service['rsyslog'],
}
# haproxy statsd
package { 'python2-statsd':
ensure => present,
}
file { '/usr/local/bin/haproxy-statsd.py':
ensure => present,
owner => 'root',
@ -155,6 +162,7 @@ class openstack_project::git (
mode => '0755',
source => 'puppet:///modules/openstack_project/git/haproxy-statsd.py',
notify => Service['haproxy-statsd'],
require => Package['python2-statsd'],
}
file { '/etc/default/haproxy-statsd':