Add oslo::db to dependency chain

All db settings should be applied and all releated packages should be
installed before dbsync starts.

Change-Id: Id9a20462b3b3c648e3d740df318a305c3fce08f4
This commit is contained in:
ZhongShengping 2017-01-22 21:45:48 +08:00
parent 8f2b017482
commit f8801e28fb

View File

@ -24,6 +24,10 @@ class magnum::deps {
~> Service<| tag == 'magnum-service' |>
~> anchor { 'magnum::service::end': }
# all db settings should be applied and all packages should be installed
# before dbsync starts
Oslo::Db<||> -> Anchor['magnum::dbsync::begin']
# policy config should occur in the config block also.
Anchor['magnum::config::begin']
-> Openstacklib::Policy::Base<||>