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: I86811c7e3c38106eb9ed45180970344e060ed7e7 Closes-Bug: #1755102
This commit is contained in:
parent
1085c0ec95
commit
ca291e7ee9
|
@ -28,6 +28,7 @@ class vitrage::db::sync(
|
|||
Anchor['vitrage::dbsync::begin']
|
||||
],
|
||||
notify => Anchor['vitrage::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 'vitrage::db::sync' do
|
|||
'Anchor[vitrage::config::end]',
|
||||
'Anchor[vitrage::dbsync::begin]'],
|
||||
:notify => 'Anchor[vitrage::dbsync::end]',
|
||||
:tag => 'openstack-db',
|
||||
)
|
||||
end
|
||||
|
||||
|
@ -40,6 +41,7 @@ describe 'vitrage::db::sync' do
|
|||
'Anchor[vitrage::config::end]',
|
||||
'Anchor[vitrage::dbsync::begin]'],
|
||||
:notify => 'Anchor[vitrage::dbsync::end]',
|
||||
:tag => 'openstack-db',
|
||||
)
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue