Merge "Do not validate database_connection format"

This commit is contained in:
Zuul 2020-08-31 14:15:38 +00:00 committed by Gerrit Code Review
commit aa254ca6f5

View File

@ -69,9 +69,6 @@ class freezer::db (
warning('The database_min_pool_size parameter is deprecated, and will be removed in a future release.') warning('The database_min_pool_size parameter is deprecated, and will be removed in a future release.')
} }
validate_legacy(Oslo::Dbconn, 'validate_re', $database_connection,
['^(sqlite|mysql(\+pymysql)?|postgresql):\/\/(\S+:\S+@\S+\/\S+)?'])
oslo::db { 'freezer_config': oslo::db { 'freezer_config':
connection => $database_connection, connection => $database_connection,
connection_recycle_time => $database_connection_recycle_time, connection_recycle_time => $database_connection_recycle_time,