diff --git a/manifests/db/sync.pp b/manifests/db/sync.pp index 51a414b..50c95b5 100644 --- a/manifests/db/sync.pp +++ b/manifests/db/sync.pp @@ -20,6 +20,7 @@ class murano::db::sync { Anchor['murano::dbsync::begin'] ], notify => Anchor['murano::dbsync::end'], + tag => 'openstack-db', } } diff --git a/manifests/db/sync_cfapi.pp b/manifests/db/sync_cfapi.pp index 64c7b9c..b6f77ca 100644 --- a/manifests/db/sync_cfapi.pp +++ b/manifests/db/sync_cfapi.pp @@ -20,6 +20,7 @@ class murano::db::sync_cfapi { Anchor['murano::dbsync::begin'] ], notify => Anchor['murano::dbsync::end'], + tag => 'openstack-db', } } diff --git a/releasenotes/notes/openstack_db_tag-809258d24c1d3b46.yaml b/releasenotes/notes/openstack_db_tag-809258d24c1d3b46.yaml new file mode 100644 index 0000000..4872e11 --- /dev/null +++ b/releasenotes/notes/openstack_db_tag-809258d24c1d3b46.yaml @@ -0,0 +1,3 @@ +--- +features: + - Add openstack-db tag to Exec that run db-sync. diff --git a/spec/classes/murano_db_sync_cfapi_spec.rb b/spec/classes/murano_db_sync_cfapi_spec.rb index 60c203a..246a0da 100644 --- a/spec/classes/murano_db_sync_cfapi_spec.rb +++ b/spec/classes/murano_db_sync_cfapi_spec.rb @@ -15,6 +15,7 @@ describe 'murano::db::sync_cfapi' do 'Anchor[murano::config::end]', 'Anchor[murano::dbsync::begin]'], :notify => 'Anchor[murano::dbsync::end]', + :tag => 'openstack-db', ) end diff --git a/spec/classes/murano_db_sync_spec.rb b/spec/classes/murano_db_sync_spec.rb index 93967b0..ccb1c92 100644 --- a/spec/classes/murano_db_sync_spec.rb +++ b/spec/classes/murano_db_sync_spec.rb @@ -17,6 +17,7 @@ describe 'murano::db::sync' do 'Anchor[murano::config::end]', 'Anchor[murano::dbsync::begin]'], :notify => 'Anchor[murano::dbsync::end]', + :tag => 'openstack-db', ) end