db: Fix unknown variable 'backend_package'
This fixes the following error caught in puppet 8 unit tests. Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'backend_package'. Change-Id: I01b1488a7907599b10e9eca94198a2e641eae8a2
This commit is contained in:
parent
c3293a4953
commit
a0130741b6
|
@ -158,7 +158,9 @@ define oslo::db(
|
|||
Oslo::Dbconn::Sqlite: {
|
||||
$backend_package = $::oslo::params::sqlite_package_name
|
||||
}
|
||||
default: {}
|
||||
default: {
|
||||
$backend_package = undef
|
||||
}
|
||||
}
|
||||
|
||||
if $backend_package and !defined(Package[$backend_package]) {
|
||||
|
|
Loading…
Reference in New Issue