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:
Benedikt Trefzer 2017-10-22 15:09:19 +02:00
parent b103f77f0e
commit 963baaeb89
2 changed files with 4 additions and 1 deletions

View File

@ -52,7 +52,7 @@ class panko::db (
include ::panko::deps
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':
connection => $database_connection,

View File

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