From 5fad2f75b6eb3614e908753b07dda48d94bf7ccf Mon Sep 17 00:00:00 2001 From: Mihai Prica Date: Tue, 16 Jul 2013 17:37:31 +0300 Subject: python-keystone: Configure postgresql credentials The user and password for postgresql are defined in the identity class and are loaded by the recipes from this class. Signed-off-by: Mihai Prica --- meta-openstack/recipes-devtools/python/python-keystone/keystone.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'meta-openstack/recipes-devtools/python/python-keystone') diff --git a/meta-openstack/recipes-devtools/python/python-keystone/keystone.conf b/meta-openstack/recipes-devtools/python/python-keystone/keystone.conf index b21aa81..954db2e 100644 --- a/meta-openstack/recipes-devtools/python/python-keystone/keystone.conf +++ b/meta-openstack/recipes-devtools/python/python-keystone/keystone.conf @@ -1,6 +1,6 @@ [DEFAULT] # A "shared secret" between keystone and other openstack services -admin_token=password +admin_token=%SERVICE_TOKEN% # The IP address of the network interface to listen on # bind_host = 0.0.0.0 @@ -75,8 +75,7 @@ admin_token=password [sql] # The SQLAlchemy connection string used to connect to the database -# connection = sqlite:////etc/keystone/keystone.db -connection = postgresql://admin:admin@localhost/keystone +connection = postgresql://%DB_USER%:%DB_PASSWORD%@localhost/keystone # the timeout before idle sql connections are reaped # idle_timeout = 200 -- cgit v1.2.3-54-g00ecf