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:
parent
73aadfd49f
commit
35f7f0dd78
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user