Skip installation of unused neutron-rpc-server

The neutron-rpc-server service is not required in case the plugin does
not require any rpc service (e.g. ml2 ovn). Skip installation of
the package in case rpc service is not requested.

Change-Id: I5d36bf8e52b52f7d1d8cbd5391a732dcde97ef42
This commit is contained in:
Takashi Kajinami 2024-09-15 14:14:31 +09:00
parent 28d16299c0
commit cc0ed4b7dc

View File

@ -361,7 +361,7 @@ class neutron::server (
}
}
if $rpc_package_name {
if $rpc_package_name and $rpc_service_name {
package { 'neutron-rpc-server':
ensure => $package_ensure,
name => $rpc_package_name,