diff --git a/manifests/db/sync.pp b/manifests/db/sync.pp index d1a34166..ca097234 100644 --- a/manifests/db/sync.pp +++ b/manifests/db/sync.pp @@ -30,5 +30,6 @@ class heat::db::sync( Anchor['heat::dbsync::begin'] ], notify => Anchor['heat::dbsync::end'], + tag => 'openstack-db', } } diff --git a/releasenotes/notes/openstack_db_tag-a3f0e6426366c25d.yaml b/releasenotes/notes/openstack_db_tag-a3f0e6426366c25d.yaml new file mode 100644 index 00000000..4872e117 --- /dev/null +++ b/releasenotes/notes/openstack_db_tag-a3f0e6426366c25d.yaml @@ -0,0 +1,3 @@ +--- +features: + - Add openstack-db tag to Exec that run db-sync. diff --git a/spec/classes/heat_db_sync_spec.rb b/spec/classes/heat_db_sync_spec.rb index 4edc29f1..121bbaeb 100644 --- a/spec/classes/heat_db_sync_spec.rb +++ b/spec/classes/heat_db_sync_spec.rb @@ -17,6 +17,7 @@ describe 'heat::db::sync' do 'Anchor[heat::config::end]', 'Anchor[heat::dbsync::begin]'], :notify => 'Anchor[heat::dbsync::end]', + :tag => 'openstack-db', ) end @@ -40,6 +41,7 @@ describe 'heat::db::sync' do 'Anchor[heat::config::end]', 'Anchor[heat::dbsync::begin]'], :notify => 'Anchor[heat::dbsync::end]', + :tag => 'openstack-db', ) } end