Add oslo::db to dependency chain

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

Change-Id: Ic5b27b858af41c51e83b09ccb0fe43d74b30ac4c
This commit is contained in:
ZhongShengping 2017-01-22 22:01:58 +08:00
parent 1b5a2d3039
commit b4d1aacdfb

View File

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