Add oslo::db to dependency chain

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

Change-Id: Iec6254f654afbbe1ababb150b47ff5e99b8032b5
This commit is contained in:
ZhongShengping 2017-01-22 21:43:05 +08:00
parent f861341eff
commit 2416150250
1 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,10 @@ class heat::deps {
~> Service<| tag == 'heat-service' |>
~> anchor { 'heat::service::end': }
# all db settings should be applied and all packages should be installed
# before dbsync starts
Oslo::Db<||> -> Anchor['heat::dbsync::begin']
# Installation or config changes will always restart services.
Anchor['heat::install::end'] ~> Anchor['heat::service::begin']
Anchor['heat::config::end'] ~> Anchor['heat::service::begin']