Browse code

Merge "Setup notification properly for Zaqar"

Jenkins authored on 2015/01/22 02:51:27
Showing 1 changed files
... ...
@@ -135,6 +135,12 @@ function configure_zaqar {
135 135
         configure_redis
136 136
     fi
137 137
 
138
+    if is_service_enabled qpid || [ -n "$RABBIT_HOST" ] && [ -n "$RABBIT_PASSWORD" ]; then
139
+        iniset $ZAQAR_CONF DEFAULT notification_driver messaging
140
+        iniset $ZAQAR_CONF DEFAULT control_exchange zaqar
141
+    fi
142
+    iniset_rpc_backend zaqar $ZAQAR_CONF DEFAULT
143
+
138 144
     cleanup_zaqar
139 145
 }
140 146