Add 'openstack-db' tag to db-sync Exec resource

In order to make easy orchestration on all OpenStack db-sync, add this
tag so people can use this tag in composition layer.
A use case it to set some orchestration to make sure MySQL Galera is
ready before running any Exec with this tag.

Change-Id: I39bccb5d538885c827b26b826029b4f8dfcfcd42
Closes-Bug: #1755102
This commit is contained in:
ZhongShengping 2018-03-12 16:33:07 +08:00
parent 1fff004d00
commit 2632d6796e
2 changed files with 2 additions and 0 deletions

View File

@ -30,5 +30,6 @@ class freezer::db::sync(
Anchor['freezer::dbsync::begin']
],
notify => Anchor['freezer::dbsync::end'],
tag => 'openstack-db',
}
}

View File

@ -15,6 +15,7 @@ describe 'freezer::db::sync' do
'Anchor[freezer::config::end]',
'Anchor[freezer::dbsync::begin]'],
:notify => 'Anchor[freezer::dbsync::end]',
:tag => 'openstack-db',
)
end