Merge "Install libvirt collectd plugin only when required"

This commit is contained in:
Jenkins 2016-02-11 09:10:06 +00:00 committed by Gerrit Code Review
commit f788c89d2f
1 changed files with 6 additions and 6 deletions

View File

@ -38,6 +38,12 @@ if $lma_collector['influxdb_mode'] != 'disabled' {
class { 'lma_collector::logs::counter':
hostname => $::hostname,
}
class { 'lma_collector::collectd::base':
processes => ['hekad', 'collectd'],
}
class { 'lma_collector::collectd::libvirt': }
}
if $ceilometer['enabled'] {
@ -68,9 +74,3 @@ service { $compute_service:
hasstatus => true,
hasrestart => true,
}
class { 'lma_collector::collectd::base':
processes => ['hekad', 'collectd'],
}
class { 'lma_collector::collectd::libvirt': }