summaryrefslogtreecommitdiffstats
path: root/src/fuel-plugin/deployment_scripts/install.sh
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2016-07-19 02:38:24 +0800
committerGuo Ruijing <ruijing.guo@intel.com>2016-07-19 08:08:13 +0800
commitefa17094249282eb0726b3d30dff190b86a97938 (patch)
treef355407b2acd7d777dffdca852b24a94218ab1f0 /src/fuel-plugin/deployment_scripts/install.sh
parent51dc2d1a638855bcab4f43b7b7823fae8d9ea4a5 (diff)
Update fuel plugin installation scripts
Change-Id: I2b2fa3b80e34cc07bac5d47b47c3681074794538 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'src/fuel-plugin/deployment_scripts/install.sh')
-rwxr-xr-xsrc/fuel-plugin/deployment_scripts/install.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fuel-plugin/deployment_scripts/install.sh b/src/fuel-plugin/deployment_scripts/install.sh
index 8f4edef0..bc430bee 100755
--- a/src/fuel-plugin/deployment_scripts/install.sh
+++ b/src/fuel-plugin/deployment_scripts/install.sh
@@ -11,6 +11,8 @@ OS_PASSWORD=$4
CEILOMETER_URL_TYPE=${CEILOMETER_URL_TYPE:-internalURL}
CEILOMETER_TIMEOUT=${CEILOMETER_TIMEOUT:-1000}
+apt-get install -y collectd
+
rm -rf $INSTALL_HOME; mkdir -p $INSTALL_HOME
cd $INSTALL_HOME
curl http://$HOST:8080/plugins/fuel-plugin-collectd-ceilometer-0.9/repositories/ubuntu/collectd-ceilometer.tgz | tar xzvf -
@@ -52,3 +54,5 @@ cat << EOF > /etc/collectd/collectd.conf.d/collectd-ceilometer-plugin.conf
</Module>
</Plugin>
EOF
+
+service collectd restart