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,6 +148,13 @@ class openstack_project::git (
|
|||||||
notify => Service['rsyslog'],
|
notify => Service['rsyslog'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# haproxy statsd
|
||||||
|
|
||||||
|
package { 'python2-statsd':
|
||||||
|
ensure => present,
|
||||||
|
}
|
||||||
|
|
||||||
file { '/usr/local/bin/haproxy-statsd.py':
|
file { '/usr/local/bin/haproxy-statsd.py':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
owner => 'root',
|
owner => 'root',
|
||||||
@ -155,6 +162,7 @@ class openstack_project::git (
|
|||||||
mode => '0755',
|
mode => '0755',
|
||||||
source => 'puppet:///modules/openstack_project/git/haproxy-statsd.py',
|
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':
|
||||||
|
Loading…
Reference in New Issue
Block a user