3 Commits

Author SHA1 Message Date
Takashi Kajinami
e192c9c789 Remove unnecessary class dependencies
Some classes require nova::compute::libvirt but there is no need to
put that class into dependencies because resource orders are defined
by deps or explicit definitions. Also, the base libvirt class is not
really required.

This change removes these dependencies, to avoid enforcing orders as
much as possible.

Change-Id: Icbb2fa209effd355cef36f35662bfdcf18d8b090
2022-06-25 15:54:31 +00:00
Takashi Kajinami
26dbd52717 Libvirt: quote config parameters in resource types
This change implements the quote parameter in libvirtd_config and
virtlogd_config, so that we can quote the value by that simple
parameter instead of implementing a logic in each manifests.

Also, with this change libvirtd_config and virtlogd_config supports
$::os_service_default, so that we can define absence of parameters more
easily.

Depends-on: https://review.opendev.org/792735
Change-Id: I3030ca34088019be932a9cc33344f7fb473a9aea
2021-06-22 16:13:52 +05:30
Takashi Kajinami
9e07a3f69a Add support to configure virtlogd
Add a new class nova::compute::libvirt::virtlogd to manage virtlogd
configuration, which is located in /etc/libvirt/virtlogd.conf.

Change-Id: Iddfec9557ac93935744aa96b813eb54bda876deb
2019-12-10 21:31:40 +09:00