Add oslo::db to dependency chain

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

Change-Id: I634c259cb40df9002e96ab4e0b82805b53b7460b
This commit is contained in:
ZhongShengping 2017-01-22 21:33:27 +08:00
parent e45091d66d
commit a15164d65a
1 changed files with 4 additions and 0 deletions

View File

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