Merge "Add python2-statsd for haproxy stats"
This commit is contained in:
commit
f18b0e83b4
@ -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':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user