diff --git a/manifests/db/sync.pp b/manifests/db/sync.pp index 6e6a8b9bc..09dc45ff7 100644 --- a/manifests/db/sync.pp +++ b/manifests/db/sync.pp @@ -37,5 +37,6 @@ class neutron::db::sync( Anchor['neutron::dbsync::begin'] ], notify => Anchor['neutron::dbsync::end'], + tag => 'openstack-db', } } diff --git a/releasenotes/notes/openstack_db_tag-a69183ca2ee8a4d9.yaml b/releasenotes/notes/openstack_db_tag-a69183ca2ee8a4d9.yaml new file mode 100644 index 000000000..4872e117d --- /dev/null +++ b/releasenotes/notes/openstack_db_tag-a69183ca2ee8a4d9.yaml @@ -0,0 +1,3 @@ +--- +features: + - Add openstack-db tag to Exec that run db-sync. diff --git a/spec/classes/neutron_db_sync_spec.rb b/spec/classes/neutron_db_sync_spec.rb index 7bbf798c9..823b44652 100644 --- a/spec/classes/neutron_db_sync_spec.rb +++ b/spec/classes/neutron_db_sync_spec.rb @@ -17,6 +17,7 @@ describe 'neutron::db::sync' do 'Anchor[neutron::config::end]', 'Anchor[neutron::dbsync::begin]'], :notify => 'Anchor[neutron::dbsync::end]', + :tag => 'openstack-db', ) end @@ -40,6 +41,7 @@ describe 'neutron::db::sync' do 'Anchor[neutron::config::end]', 'Anchor[neutron::dbsync::begin]'], :notify => 'Anchor[neutron::dbsync::end]', + :tag => 'openstack-db', ) } end