diff --git a/manifests/db/sync.pp b/manifests/db/sync.pp index cf579807..e53578e9 100644 --- a/manifests/db/sync.pp +++ b/manifests/db/sync.pp @@ -28,6 +28,7 @@ class barbican::db::sync( Anchor['barbican::dbsync::begin'] ], notify => Anchor['barbican::dbsync::end'], + tag => 'openstack-db', } } diff --git a/releasenotes/notes/openstack_db_tag-afedb8332112f9ef.yaml b/releasenotes/notes/openstack_db_tag-afedb8332112f9ef.yaml new file mode 100644 index 00000000..4872e117 --- /dev/null +++ b/releasenotes/notes/openstack_db_tag-afedb8332112f9ef.yaml @@ -0,0 +1,3 @@ +--- +features: + - Add openstack-db tag to Exec that run db-sync. diff --git a/spec/classes/barbican_db_sync_spec.rb b/spec/classes/barbican_db_sync_spec.rb index 668af3a1..04f88239 100644 --- a/spec/classes/barbican_db_sync_spec.rb +++ b/spec/classes/barbican_db_sync_spec.rb @@ -17,6 +17,7 @@ describe 'barbican::db::sync' do 'Anchor[barbican::config::end]', 'Anchor[barbican::dbsync::begin]'], :notify => 'Anchor[barbican::dbsync::end]', + :tag => 'openstack-db', ) end @@ -40,6 +41,7 @@ describe 'barbican::db::sync' do 'Anchor[barbican::config::end]', 'Anchor[barbican::dbsync::begin]'], :notify => 'Anchor[barbican::dbsync::end]', + :tag => 'openstack-db', ) } end