Fix virtlogd service scheduling

In Debian, it appears that Service['virtlogd'] isn't started before
Service['libvirt'], which makes setting-up nova not indenpotant.
This fix makes it possible to setup a compute node in one single run.

Change-Id: Id86944b9733527c2cd29b2311eab93e2d1b2a09a
This commit is contained in:
Thomas Goirand 2020-06-02 20:12:29 +02:00
parent de2c40bc2a
commit 98352cfe11
1 changed files with 3 additions and 0 deletions

View File

@ -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']
}
}