Add oslo::db to dependency chain

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

Change-Id: Iae4f582d43aabeafa7fc50447addee9468d91f2a
This commit is contained in:
ZhongShengping 2017-01-22 21:40:05 +08:00
parent d66fa43019
commit 31ca15b037
1 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,10 @@ class glance::deps {
~> Service<| tag == 'glance-service' |>
~> anchor { 'glance::service::end': }
# all db settings should be applied and all packages should be installed
# before dbsync starts
Oslo::Db<||> -> Anchor['glance::dbsync::begin']
# Ensure files are modified in the config block
Anchor['glance::config::begin']
-> File_line<| tag == 'glance-file-line' |>