diff --git a/manifests/db/sync.pp b/manifests/db/sync.pp index b5cdd38..7545b96 100644 --- a/manifests/db/sync.pp +++ b/manifests/db/sync.pp @@ -34,6 +34,7 @@ class ec2api::db::sync ( Anchor['ec2api::dbsync::begin'] ], notify => Anchor['ec2api::dbsync::end'], + tag => 'openstack-db', } } diff --git a/releasenotes/notes/openstack_db_tag-bdc29046cc947ea5.yaml b/releasenotes/notes/openstack_db_tag-bdc29046cc947ea5.yaml new file mode 100644 index 0000000..4872e11 --- /dev/null +++ b/releasenotes/notes/openstack_db_tag-bdc29046cc947ea5.yaml @@ -0,0 +1,3 @@ +--- +features: + - Add openstack-db tag to Exec that run db-sync. diff --git a/spec/classes/ec2api_db_sync_spec.rb b/spec/classes/ec2api_db_sync_spec.rb index 7c02ccb..a8ed62c 100644 --- a/spec/classes/ec2api_db_sync_spec.rb +++ b/spec/classes/ec2api_db_sync_spec.rb @@ -20,6 +20,7 @@ describe 'ec2api::db::sync' do 'Anchor[ec2api::dbsync::begin]' ], :notify => 'Anchor[ec2api::dbsync::end]', + :tag => 'openstack-db', } it { is_expected.to compile.with_all_deps }