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: Icd2700fe8c27a647dab8d91a4f9c20eda930b4e1 Closes-Bug: #1755102
This commit is contained in:
parent
dcce8b24c1
commit
b563459e37
@ -35,6 +35,6 @@ class keystone::db::sync(
|
||||
Anchor['keystone::dbsync::begin']
|
||||
],
|
||||
notify => Anchor['keystone::dbsync::end'],
|
||||
tag => 'keystone-exec',
|
||||
tag => ['keystone-exec', 'openstack-db']
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,3 @@
|
||||
---
|
||||
features:
|
||||
- Add openstack-db tag to Exec that run db-sync.
|
@ -18,6 +18,7 @@ describe 'keystone::db::sync' do
|
||||
'Anchor[keystone::config::end]',
|
||||
'Anchor[keystone::dbsync::begin]'],
|
||||
:notify => 'Anchor[keystone::dbsync::end]',
|
||||
:tag => ['keystone-exec', 'openstack-db'],
|
||||
)
|
||||
}
|
||||
end
|
||||
@ -43,6 +44,7 @@ describe 'keystone::db::sync' do
|
||||
'Anchor[keystone::config::end]',
|
||||
'Anchor[keystone::dbsync::begin]'],
|
||||
:notify => 'Anchor[keystone::dbsync::end]',
|
||||
:tag => ['keystone-exec', 'openstack-db'],
|
||||
)
|
||||
}
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user