Merge "allow to specify drivername for postgres db"

This commit is contained in:
Zuul 2020-07-30 15:54:01 +00:00 committed by Gerrit Code Review
commit 011f93545d
2 changed files with 4 additions and 1 deletions

View File

@ -74,7 +74,7 @@ class keystone::db (
$database_max_overflow_real = pick($::keystone::database_max_overflow, $database_max_overflow)
validate_legacy(Oslo::Dbconn, 'validate_re', $database_connection_real,
['^(sqlite|mysql(\+pymysql)?|postgresql):\/\/(\S+:\S+@\S+\/\S+)?'])
['^(sqlite|mysql(\+pymysql)?|postgresql(\+psycopg2)?):\/\/(\S+:\S+@\S+\/\S+)?'])
oslo::db { 'keystone_config':
db_max_retries => $database_db_max_retries,

View File

@ -0,0 +1,3 @@
---
features:
- Allow to specify drivername for postgres db