change glance-db config option to database and db-user to databaser-user

This commit is contained in:
Andres Rodriguez 2013-06-20 14:26:12 -04:00
parent 9da4165bb3
commit 3d474af86f
2 changed files with 3 additions and 3 deletions

View File

@ -14,11 +14,11 @@ options:
Note that updating this setting to a source that is known to
provide a later version of OpenStack will trigger a software
upgrade.
db-user:
database-user:
default: glance
type: string
description: Database username
glance-db:
database:
default: glance
type: string
description: Glance database name.

View File

@ -96,7 +96,7 @@ def install_hook():
def db_joined():
relation_set(database=config["glance-db"], username=config["db-user"],
relation_set(database=config['database'], username=config['database-user'],
hostname=unit_get('private-address'))