diff options
| author | Mihai Prica <prica.mihai@gmail.com> | 2013-07-16 17:37:31 +0300 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-08-28 18:41:58 -0400 |
| commit | 5fad2f75b6eb3614e908753b07dda48d94bf7ccf (patch) | |
| tree | d238961914ca3a377ffa9308961c918cc839d1b4 /meta-openstack/recipes-devtools/python/python-keystone | |
| parent | b7513ae56a129f223c1db088722e87a56500c95e (diff) | |
| download | meta-cloud-services-5fad2f75b6eb3614e908753b07dda48d94bf7ccf.tar.gz | |
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 <prica.mihai@gmail.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-keystone')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-keystone/keystone.conf | 5 |
1 files changed, 2 insertions, 3 deletions
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 @@ | |||
| 1 | [DEFAULT] | 1 | [DEFAULT] |
| 2 | # A "shared secret" between keystone and other openstack services | 2 | # A "shared secret" between keystone and other openstack services |
| 3 | admin_token=password | 3 | admin_token=%SERVICE_TOKEN% |
| 4 | 4 | ||
| 5 | # The IP address of the network interface to listen on | 5 | # The IP address of the network interface to listen on |
| 6 | # bind_host = 0.0.0.0 | 6 | # bind_host = 0.0.0.0 |
| @@ -75,8 +75,7 @@ admin_token=password | |||
| 75 | 75 | ||
| 76 | [sql] | 76 | [sql] |
| 77 | # The SQLAlchemy connection string used to connect to the database | 77 | # The SQLAlchemy connection string used to connect to the database |
| 78 | # connection = sqlite:////etc/keystone/keystone.db | 78 | connection = postgresql://%DB_USER%:%DB_PASSWORD%@localhost/keystone |
| 79 | connection = postgresql://admin:admin@localhost/keystone | ||
| 80 | 79 | ||
| 81 | # the timeout before idle sql connections are reaped | 80 | # the timeout before idle sql connections are reaped |
| 82 | # idle_timeout = 200 | 81 | # idle_timeout = 200 |
