diff --git a/manifests/compute/libvirt/services.pp b/manifests/compute/libvirt/services.pp index 624e334c3..c0ee51c19 100644 --- a/manifests/compute/libvirt/services.pp +++ b/manifests/compute/libvirt/services.pp @@ -103,5 +103,8 @@ class nova::compute::libvirt::services ( } Package<| name == 'libvirt' |> -> Service['virtlogd'] } + if $libvirt_service_name and $virtlog_service_name { + Service['virtlogd'] -> Service['libvirt'] + } }