Browse code

Merge "QPID default host"

Jenkins authored on 2013/07/15 23:03:55
Showing 1 changed files
... ...
@@ -172,7 +172,7 @@ function iniset_rpc_backend() {
172 172
         iniset $file matchmaker_redis host $MATCHMAKER_REDIS_HOST
173 173
     elif is_service_enabled qpid || [ -n "$QPID_HOST" ]; then
174 174
         iniset $file $section rpc_backend ${package}.openstack.common.rpc.impl_qpid
175
-        iniset $file $section qpid_hostname $QPID_HOST
175
+        iniset $file $section qpid_hostname ${QPID_HOST:-$SERVICE_HOST}
176 176
         if is_ubuntu; then
177 177
             QPID_PASSWORD=`sudo strings /etc/qpid/qpidd.sasldb | grep -B1 admin | head -1`
178 178
             iniset $file $section qpid_password $QPID_PASSWORD