Add python2-statsd for haproxy stats

We haven't been receiving any stats since presumably the server
upgrade, because the statsd package wasn't installed.

Change-Id: I98d2625e5a44e9c416baca2fc60eb5304a08a58a
This commit is contained in:
Ian Wienand 2018-06-12 09:22:31 +10:00
parent 73aadfd49f
commit 35f7f0dd78

View File

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