From d55509d46e59b1b734605965fae3bc5d94161ce9 Mon Sep 17 00:00:00 2001
From: Chmouel Boudjnah <chmouel@chmouel.com>
Date: Fri, 20 Jul 2012 15:00:02 +0000
Subject: [PATCH] Use c-api for service when creating cinder user.

- cinder is not a service but c-api is.

Change-Id: I580fe91216d3fa066120dc774811bfe08119ca02
---
 files/keystone_data.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/files/keystone_data.sh b/files/keystone_data.sh
index ba14a47f8f..6987797a37 100755
--- a/files/keystone_data.sh
+++ b/files/keystone_data.sh
@@ -275,7 +275,7 @@ if [[ "$ENABLED_SERVICES" =~ "tempest" ]]; then
         --role_id $MEMBER_ROLE
 fi
 
-if [[ "$ENABLED_SERVICES" =~ "cinder" ]]; then
+if [[ "$ENABLED_SERVICES" =~ "c-api" ]]; then
     CINDER_USER=$(get_id keystone user-create --name=cinder \
                                               --pass="$SERVICE_PASSWORD" \
                                               --tenant_id $SERVICE_TENANT \