summaryrefslogtreecommitdiffstats
path: root/src/fuel-plugin/deployment_scripts/puppet/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'src/fuel-plugin/deployment_scripts/puppet/manifests')
-rw-r--r--src/fuel-plugin/deployment_scripts/puppet/manifests/collectd-ceilometer_install.pp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/fuel-plugin/deployment_scripts/puppet/manifests/collectd-ceilometer_install.pp b/src/fuel-plugin/deployment_scripts/puppet/manifests/collectd-ceilometer_install.pp
index cd77016b..cbbfcad2 100644
--- a/src/fuel-plugin/deployment_scripts/puppet/manifests/collectd-ceilometer_install.pp
+++ b/src/fuel-plugin/deployment_scripts/puppet/manifests/collectd-ceilometer_install.pp
@@ -12,12 +12,19 @@ $ceilometer_hash = hiera_hash('ceilometer', {'user'=>'ceilometer'})
$auth_user = 'ceilometer'
$auth_password = $ceilometer_hash['user_password']
+
+$collectd_settings = hiera('fuel-plugin-collectd-ceilometer')
+$enable_mcelog = $collectd_settings['enable_mcelog']
+$enable_intel_rdt = $collectd_settings['enable_intel_rdt']
+$enable_hugepages = $collectd_settings['enable_hugepages']
+$enable_ovs_events = $collectd_settings['enable_ovs_events']
+
$exe_url = "http://${master_ip}:8080/plugins/fuel-plugin-collectd-ceilometer-1.0/deployment_scripts/install.sh"
if ($use_ceilometer) {
exec { "install collectd-ceilometer":
- command => "curl ${exe_url} | bash -s ${master_ip} ${auth_uri} ${auth_user} ${auth_password}",
+ command => "curl ${exe_url} | bash -s ${master_ip} ${auth_uri} ${auth_user} ${auth_password} ${enable_mcelog} ${enable_intel_rdt} ${enable_hugepages} ${enable_ovs_events}",
path => "/usr/bin:/usr/sbin:/bin:/sbin";
}
}