Merge "Removed deprecated parameter on puppet-fm and puppet-sysinv"
This commit is contained in:
commit
81abafbce9
@ -42,12 +42,22 @@ class fm::db::postgresql(
|
||||
|
||||
include ::fm::deps
|
||||
|
||||
::openstacklib::db::postgresql { 'fm':
|
||||
password_hash => postgresql_password($user, $password),
|
||||
dbname => $dbname,
|
||||
user => $user,
|
||||
encoding => $encoding,
|
||||
privileges => $privileges,
|
||||
if $::osfamily == 'Debian' {
|
||||
::openstacklib::db::postgresql { 'fm':
|
||||
password => $password,
|
||||
dbname => $dbname,
|
||||
user => $user,
|
||||
encoding => $encoding,
|
||||
privileges => $privileges,
|
||||
}
|
||||
} else {
|
||||
::openstacklib::db::postgresql { 'fm':
|
||||
password_hash => postgresql_password($user, $password),
|
||||
dbname => $dbname,
|
||||
user => $user,
|
||||
encoding => $encoding,
|
||||
privileges => $privileges,
|
||||
}
|
||||
}
|
||||
|
||||
Anchor['fm::db::begin']
|
||||
|
@ -46,12 +46,22 @@ class sysinv::db::postgresql(
|
||||
$privileges = 'ALL',
|
||||
) {
|
||||
|
||||
::openstacklib::db::postgresql { 'sysinv':
|
||||
password_hash => postgresql_password($user, $password),
|
||||
dbname => $dbname,
|
||||
user => $user,
|
||||
encoding => $encoding,
|
||||
privileges => $privileges,
|
||||
if $::osfamily == 'Debian' {
|
||||
::openstacklib::db::postgresql { 'sysinv':
|
||||
password => $password,
|
||||
dbname => $dbname,
|
||||
user => $user,
|
||||
encoding => $encoding,
|
||||
privileges => $privileges,
|
||||
}
|
||||
} else {
|
||||
::openstacklib::db::postgresql { 'sysinv':
|
||||
password_hash => postgresql_password($user, $password),
|
||||
dbname => $dbname,
|
||||
user => $user,
|
||||
encoding => $encoding,
|
||||
privileges => $privileges,
|
||||
}
|
||||
}
|
||||
|
||||
::Openstacklib::Db::Postgresql['sysinv'] ~> Service <| title == 'sysinv-api' |>
|
||||
|
Loading…
Reference in New Issue
Block a user