Fix wrong service notified by Virt*d_config

This change fixes the wrong notification which was introduced by
170edf57d8 and ensures the correct
service is restarted.

Change-Id: Id8c38281fc8a69c1a83bd3806ac216556152759e
This commit is contained in:
Takashi Kajinami
2022-06-29 10:47:46 +09:00
parent 4466f7cde6
commit 16ebf1bb8b

View File

@@ -136,7 +136,7 @@ class nova::compute::libvirt::services (
name => $virtlog_service_name, name => $virtlog_service_name,
tag => 'libvirt-service', tag => 'libvirt-service',
} }
Virtlogd_config<||> ~> Service['libvirt'] Virtlogd_config<||> ~> Service['virtlogd']
} }
if ! $modular_libvirt { if ! $modular_libvirt {
@@ -168,7 +168,7 @@ class nova::compute::libvirt::services (
name => $virtsecret_service_name, name => $virtsecret_service_name,
tag => ['libvirt-service', 'libvirt-modular-service'], tag => ['libvirt-service', 'libvirt-modular-service'],
} }
Virtsecretd_config<||> ~> Service['virtlogd'] Virtsecretd_config<||> ~> Service['virtsecretd']
} }
if $virtnodedev_service_name { if $virtnodedev_service_name {
@@ -183,7 +183,7 @@ class nova::compute::libvirt::services (
name => $virtnodedev_service_name, name => $virtnodedev_service_name,
tag => ['libvirt-service', 'libvirt-modular-service'], tag => ['libvirt-service', 'libvirt-modular-service'],
} }
Virtnodedevd_config<||> ~> Service['virtlogd'] Virtnodedevd_config<||> ~> Service['virtnodedevd']
} }
if $virtqemu_service_name { if $virtqemu_service_name {
@@ -198,7 +198,7 @@ class nova::compute::libvirt::services (
name => $virtqemu_service_name, name => $virtqemu_service_name,
tag => ['libvirt-service', 'libvirt-modular-service'], tag => ['libvirt-service', 'libvirt-modular-service'],
} }
Virtqemud_config<||> ~> Service['virtlogd'] Virtqemud_config<||> ~> Service['virtqemud']
} }
if $virtproxy_service_name { if $virtproxy_service_name {
@@ -208,7 +208,7 @@ class nova::compute::libvirt::services (
name => $virtproxy_service_name, name => $virtproxy_service_name,
tag => ['libvirt-service', 'libvirt-modular-service'], tag => ['libvirt-service', 'libvirt-modular-service'],
} }
Virtproxyd_config<||> ~> Service['virtlogd'] Virtproxyd_config<||> ~> Service['virtproxyd']
} }
if $virtstorage_service_name { if $virtstorage_service_name {
@@ -223,7 +223,7 @@ class nova::compute::libvirt::services (
name => $virtstorage_service_name, name => $virtstorage_service_name,
tag => ['libvirt-service', 'libvirt-modular-service'], tag => ['libvirt-service', 'libvirt-modular-service'],
} }
Virtstoraged_config<||> ~> Service['virtlogd'] Virtstoraged_config<||> ~> Service['virtstoraged']
} }
} }
} }