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