Merge "Add 'openstack-db' tag to db-sync Exec resource"

This commit is contained in:
Zuul 2018-03-13 13:41:25 +00:00 committed by Gerrit Code Review
commit f1be075256
3 changed files with 6 additions and 0 deletions

View File

@ -38,6 +38,7 @@ class magnum::db::sync(
Anchor['magnum::dbsync::begin']
],
notify => Anchor['magnum::dbsync::end'],
tag => 'openstack-db',
}
}

View File

@ -0,0 +1,3 @@
---
features:
- Add openstack-db tag to Exec that run db-sync.

View File

@ -17,6 +17,7 @@ describe 'magnum::db::sync' do
'Anchor[magnum::config::end]',
'Anchor[magnum::dbsync::begin]'],
:notify => 'Anchor[magnum::dbsync::end]',
:tag => 'openstack-db',
)
end
@ -40,6 +41,7 @@ describe 'magnum::db::sync' do
'Anchor[magnum::config::end]',
'Anchor[magnum::dbsync::begin]'],
:notify => 'Anchor[magnum::dbsync::end]',
:tag => 'openstack-db',
)
}
end