
Currently we implement separate providers for all libvirt configuration files but this is quite redundant because we have the same logic in all providers. This change refactors these providers makes use the libvirtd_config provider used as the base implementation. Change-Id: I486211306620d245262678875be3ec607640e921
11 lines
204 B
Ruby
11 lines
204 B
Ruby
Puppet::Type.type(:virtlogd_config).provide(
|
|
:ini_setting,
|
|
:parent => Puppet::Type.type(:libvirtd_config).provider(:ini_setting)
|
|
) do
|
|
|
|
def self.file_path
|
|
'/etc/libvirt/virtlogd.conf'
|
|
end
|
|
|
|
end
|