~ubuntu-branches/ubuntu/vivid/ceilometer/vivid

« back to all changes in this revision

Viewing changes to tools/enable_notifications.sh

  • Committer: Package Import Robot
  • Author(s): James Page, Corey Bryant, James Page
  • Date: 2015-02-19 14:59:07 UTC
  • mfrom: (1.2.3)
  • Revision ID: package-import@ubuntu.com-20150219145907-9jojybdsl64zcn14
Tags: 2015.1~b2-0ubuntu1
[ Corey Bryant ]
* New upstream release.
  - d/control: Align requirements with upstream.
  - d/p/skip-test.patch: Rebased.

[ James Page ]
* d/rules,d/p/skip-gabbi.patch: Skip tests that rely on python-gabbi until
  packaging and MIR is complete.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    echo "notification_driver=neutron.openstack.common.notifier.rabbit_notifier" >> $NEUTRON_CONF
36
36
fi
37
37
 
38
 
# For nova we set both the rabbit notifier and the special ceilometer
39
 
# notifier that forces one more poll to happen before an instance is
40
 
# removed.
41
 
NOVA_CONF=/etc/nova/nova.conf
42
 
if ! grep -q "notification_driver=ceilometer.compute.nova_notifier" $NOVA_CONF
43
 
then
44
 
    echo "notification_driver=ceilometer.compute.nova_notifier" >> $NOVA_CONF
45
 
fi
46
 
if ! grep -q "notification_driver=nova.openstack.common.notifier.rabbit_notifier" $NOVA_CONF
47
 
then
48
 
    echo "notification_driver=nova.openstack.common.notifier.rabbit_notifier" >> $NOVA_CONF
49
 
fi
50
 
 
51
38
# SPECIAL CASE
52
39
# Glance does not use the openstack common notifier library,
53
40
# so we have to set a different option.