Remove unused octavia-db-sync-service tag

This tag is not used by any logic and can be removed.

Change-Id: Icb765fcbb141c2ca74bbd0c4077879fbf54c935e
This commit is contained in:
Takashi Kajinami 2023-11-20 10:42:08 +09:00
parent 30c6ddbdfa
commit 0ea80a35f8
2 changed files with 5 additions and 5 deletions

View File

@ -185,17 +185,17 @@ Use the enabled_provider_drivers parameter instead.')
enable => $enabled,
hasstatus => true,
hasrestart => true,
tag => ['octavia-service', 'octavia-db-sync-service'],
tag => 'octavia-service',
}
} elsif $service_name == 'httpd' {
service { 'octavia-api':
ensure => 'stopped',
name => $::octavia::params::api_service_name,
enable => false,
tag => ['octavia-service', 'octavia-db-sync-service'],
tag => 'octavia-service',
}
Service['octavia-api'] -> Service[$service_name]
Service<| title == 'httpd' |> { tag +> ['octavia-service', 'octavia-db-sync-service'] }
Service<| title == 'httpd' |> { tag +> 'octavia-service' }
} else {
fail("Invalid service_name. Either octavia-api/openstack-octavia-api for \
running as a standalone service, or httpd for being run by a httpd server")

View File

@ -107,7 +107,7 @@ describe 'octavia::api' do
:enable => params[:enabled],
:hasstatus => true,
:hasrestart => true,
:tag => ['octavia-service', 'octavia-db-sync-service'],
:tag => 'octavia-service',
)
end
it { is_expected.to contain_service('octavia-api').that_subscribes_to('Anchor[octavia::service::begin]')}
@ -257,7 +257,7 @@ describe 'octavia::api' do
:ensure => 'stopped',
:name => platform_params[:api_service_name],
:enable => false,
:tag => ['octavia-service', 'octavia-db-sync-service'],
:tag => 'octavia-service',
)}
end
end