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