Skip to content

Commit

Permalink
Removes extraneous quotes from service names.
Browse files Browse the repository at this point in the history
Fixes bug 958894.

Change-Id: Id517519b027c70eff22e04b79597f6d47fcc5eed
  • Loading branch information
gabrielhurley committed Mar 18, 2012
1 parent 84a03e0 commit 09407d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1460,15 +1460,15 @@ if is_service_enabled key; then
echo "catalog.RegionOne.object_store.publicURL = http://%SERVICE_HOST%:8080/v1/AUTH_\$(tenant_id)s" >> $KEYSTONE_CATALOG
echo "catalog.RegionOne.object_store.adminURL = http://%SERVICE_HOST%:8080/" >> $KEYSTONE_CATALOG
echo "catalog.RegionOne.object_store.internalURL = http://%SERVICE_HOST%:8080/v1/AUTH_\$(tenant_id)s" >> $KEYSTONE_CATALOG
echo "catalog.RegionOne.object_store.name = 'Swift Service'" >> $KEYSTONE_CATALOG
echo "catalog.RegionOne.object_store.name = Swift Service" >> $KEYSTONE_CATALOG
fi

# Add quantum endpoints to service catalog if quantum is enabled
if is_service_enabled quantum; then
echo "catalog.RegionOne.network.publicURL = http://%SERVICE_HOST%:9696/" >> $KEYSTONE_CATALOG
echo "catalog.RegionOne.network.adminURL = http://%SERVICE_HOST%:9696/" >> $KEYSTONE_CATALOG
echo "catalog.RegionOne.network.internalURL = http://%SERVICE_HOST%:9696/" >> $KEYSTONE_CATALOG
echo "catalog.RegionOne.network.name = 'Quantum Service'" >> $KEYSTONE_CATALOG
echo "catalog.RegionOne.network.name = Quantum Service" >> $KEYSTONE_CATALOG
fi

sudo sed -e "s,%SERVICE_HOST%,$SERVICE_HOST,g" -i $KEYSTONE_CATALOG
Expand Down

0 comments on commit 09407d9

Please sign in to comment.