gnocchi: ensure upgrade run after swift setup
The orignal fix have create an dependencies on an Class, so
it does work and fail silencly.
This changes it to the Anchor.
Change-Id: I2ed6e328a9a4915844f699784dd87dc99078fb23
Closes-bug: #1724328
(cherry picked from commit 1c49fbe08d
)
This commit is contained in:
parent
1073cca815
commit
5e1b5cafa6
|
@ -126,7 +126,7 @@ class tripleo::profile::base::gnocchi::api (
|
|||
include ::swift::deps
|
||||
# Ensure we have swift proxy available before running gnocchi-upgrade
|
||||
# as storage is initialized at this point.
|
||||
Anchor<| title == 'swift::service::end' |> ~> Class['Gnocchi::db::sync']
|
||||
Anchor<| title == 'swift::service::end' |> ~> Anchor['gnocchi::dbsync::begin']
|
||||
}
|
||||
}
|
||||
'file': { include ::gnocchi::storage::file }
|
||||
|
|
Loading…
Reference in New Issue