diff --git a/modules/openstack_project/manifests/git.pp b/modules/openstack_project/manifests/git.pp index 526321a4ab..e1d2db52ea 100644 --- a/modules/openstack_project/manifests/git.pp +++ b/modules/openstack_project/manifests/git.pp @@ -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':