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: I4e520669894ae44b6fe29db5f4c5e87ed4e2c9b6
Closes-Bug: #1755102
(cherry picked from commit 627b5a1ba4
)
This commit is contained in:
parent
c14156b1ee
commit
011d623a50
|
@ -18,5 +18,6 @@ class manila::db::sync {
|
|||
Anchor['manila::dbsync::begin']
|
||||
],
|
||||
notify => Anchor['manila::dbsync::end'],
|
||||
tag => 'openstack-db',
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
features:
|
||||
- Add openstack-db tag to Exec that run db-sync.
|
|
@ -17,6 +17,7 @@ describe 'manila::db::sync' do
|
|||
'Anchor[manila::config::end]',
|
||||
'Anchor[manila::dbsync::begin]'],
|
||||
:notify => 'Anchor[manila::dbsync::end]',
|
||||
:tag => 'openstack-db',
|
||||
)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue