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:
parent
1fff004d00
commit
2632d6796e
|
@ -30,5 +30,6 @@ class freezer::db::sync(
|
|||
Anchor['freezer::dbsync::begin']
|
||||
],
|
||||
notify => Anchor['freezer::dbsync::end'],
|
||||
tag => 'openstack-db',
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue