Ensure the Aodh DB is synced

We were lacking the "sync_db => true" parameter when calling aodh::api,
so the database was not initialized, and API calls were failing.

Change-Id: Idbc4f5a3310c0776ba4973b45dbaf554d8372b8e
Closes-Bug: #1855443
(cherry picked from commit 1f64071f5a)
This commit is contained in:
Javier Pena 2019-12-11 13:15:58 +01:00 committed by Javier Peña
parent 817103edb1
commit c024700d60
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ class packstack::aodh ()
class { '::aodh::api':
enabled => true,
service_name => 'httpd',
sync_db => true,
}
class { '::aodh::wsgi::apache':