summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-09-29 19:51:40 +0000
committerGerrit Code Review <review@openstack.org>2015-09-29 19:51:40 +0000
commit6a10d00a381f19ddb3e2f31bda78bef7c92e72a6 (patch)
tree5ad295f5ea0a13250931706a979da064bda28fca /tools
parent3a21e3100a65694babc2cf282927052e3592819b (diff)
parentb646cd25837306d98d45a47c462d272e8c9ea5f2 (diff)
downloadceilometer-6a10d00a381f19ddb3e2f31bda78bef7c92e72a6.tar.gz
Merge "Remove enable_notification.sh"
Diffstat (limited to 'tools')
-rwxr-xr-xtools/enable_notifications.sh43
1 files changed, 0 insertions, 43 deletions
diff --git a/tools/enable_notifications.sh b/tools/enable_notifications.sh
deleted file mode 100755
index f4916823..00000000
--- a/tools/enable_notifications.sh
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/bash
-#
-# Ceilometer depends on having notifications enabled for all monitored
-# services. This script demonstrates the configuration changes needed
-# in order to enable the rabbit notifier for the supported services.
-
-bindir=$(dirname $0)
-devstackdir=${bindir}/../../devstack
-
-devstack_funcs=${devstackdir}/functions
-if [ ! -f "$devstack_funcs" ]
-then
- echo "Could not find $devstack_funcs"
- exit 1
-fi
-source ${devstack_funcs}
-
-CINDER_CONF=/etc/cinder/cinder.conf
-if ! grep -q "notification_driver=cinder.openstack.common.notifier.rabbit_notifier" $CINDER_CONF
-then
- echo "notification_driver=cinder.openstack.common.notifier.rabbit_notifier" >> $CINDER_CONF
-fi
-
-# For compatibility with Grizzly
-QUANTUM_CONF=/etc/quantum/quantum.conf
-if ! grep -q "notification_driver=quantum.openstack.common.notifier.rabbit_notifier" $QUANTUM_CONF
-then
- echo "notification_driver=quantum.openstack.common.notifier.rabbit_notifier" >> $QUANTUM_CONF
-fi
-
-# Havana release onward
-NEUTRON_CONF=/etc/neutron/neutron.conf
-if ! grep -q "notification_driver=neutron.openstack.common.notifier.rabbit_notifier" $NEUTRON_CONF
-then
- echo "notification_driver=neutron.openstack.common.notifier.rabbit_notifier" >> $NEUTRON_CONF
-fi
-
-# SPECIAL CASE
-# Glance does not use the openstack common notifier library,
-# so we have to set a different option.
-GLANCE_CONF=/etc/glance/glance-api.conf
-iniuncomment $GLANCE_CONF DEFAULT notifier_strategy
-iniset $GLANCE_CONF DEFAULT notifier_strategy rabbit