allow to specify drivername for postgres
to specify +drivername, puppet-oslo module needs Change-Id: Idbac640aba8f4c87ae43df3a7019bf465895ca43 otherwise the check will fail there ! Change-Id: Id1d2764708b046ea4582306a6881104779f12a5c
This commit is contained in:
parent
b103f77f0e
commit
963baaeb89
|
@ -52,7 +52,7 @@ class panko::db (
|
||||||
include ::panko::deps
|
include ::panko::deps
|
||||||
|
|
||||||
validate_re($database_connection,
|
validate_re($database_connection,
|
||||||
'^(sqlite|mysql(\+pymysql)?|postgresql):\/\/(\S+:\S+@\S+\/\S+)?')
|
'^(sqlite|mysql(\+pymysql)?|postgresql(\+psycopg2)?):\/\/(\S+:\S+@\S+\/\S+)?')
|
||||||
|
|
||||||
oslo::db { 'panko_config':
|
oslo::db { 'panko_config':
|
||||||
connection => $database_connection,
|
connection => $database_connection,
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
features:
|
||||||
|
- Allow to specify drivername for postgres db
|
Loading…
Reference in New Issue