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: I1108bfeb4a82fb1b41e3eb135088940c052ce016 Closes-Bug: #1755102
This commit is contained in:
parent
4a521f933d
commit
2f21d410d9
|
@ -31,6 +31,7 @@ class designate::db::sync(
|
|||
Anchor['designate::dbsync::begin']
|
||||
],
|
||||
notify => Anchor['designate::dbsync::end'],
|
||||
tag => 'openstack-db',
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
features:
|
||||
- Add openstack-db tag to Exec that run db-sync.
|
|
@ -18,6 +18,7 @@ describe 'designate::db::sync' do
|
|||
'Anchor[designate::config::end]',
|
||||
'Anchor[designate::dbsync::begin]'],
|
||||
:notify => 'Anchor[designate::dbsync::end]',
|
||||
:tag => 'openstack-db',
|
||||
)
|
||||
end
|
||||
end
|
||||
|
@ -39,6 +40,7 @@ describe 'designate::db::sync' do
|
|||
'Anchor[designate::config::end]',
|
||||
'Anchor[designate::dbsync::begin]'],
|
||||
:notify => 'Anchor[designate::dbsync::end]',
|
||||
:tag => 'openstack-db',
|
||||
)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue