Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
c31b689
update libvirtd.conf-el8.erb to actually be an erb
ikonia Aug 12, 2025
b20b542
include managed by puppet header in erb
ikonia Aug 12, 2025
f38589a
set listen_tcp listen_tls to Deb and RHEL default
ikonia Aug 12, 2025
c7fc9a7
set tls_port, tcp_port to Deb/RHEL defaults
ikonia Aug 12, 2025
203f373
add mdns_name param, maps to fqdn fact
ikonia Aug 12, 2025
8108cff
move mdns_name out of case statement and corrected fact
ikonia Aug 12, 2025
10c8281
set unix_sock_group to rhel and deb defaults
ikonia Aug 12, 2025
440cd45
set unix_sock_ro_perms to RHEL/Deb default
ikonia Aug 12, 2025
f7af223
set unix_sock_rw_perms to RHEL/Deb defaults
ikonia Aug 12, 2025
54de1fc
set unix_sock_dir to RHEL/Deb defaults
ikonia Aug 12, 2025
050afdc
set auth_unix_ro to RHEL/Deb defaults
ikonia Aug 12, 2025
9c8b567
set auth_unix_rw to RHEL/Deb defaults
ikonia Aug 12, 2025
76f430b
set auth_tcp auth_tls to RHEL/Deb default
ikonia Aug 12, 2025
431dca4
new param access_drivers to RHEL/Deb defaults
ikonia Aug 12, 2025
d91475a
new param tcp_min_ssf set RHEL/Deb default
ikonia Aug 12, 2025
b20ff43
update erb to align to el8 template
ikonia Aug 12, 2025
c025eee
create functional libvirtd erb supported EL8-9-10
ikonia Aug 12, 2025
8956a33
delete commented parameter: dynamically generated
ikonia Aug 12, 2025
4429ef6
remove quotes from tcp_min_ssf parameter
ikonia Aug 12, 2025
065d6d5
update access_drivers to correct no-op default value
ikonia Aug 12, 2025
3d93675
create qemu.conf erb for el 8,9,10 backward compat
ikonia Aug 13, 2025
dc46e26
set vnc_listen_address to default for RHEL, Deb
ikonia Aug 13, 2025
d0378f4
create virtproxyd.conf erb for EL9 and later
ikonia Aug 13, 2025
ae2c4bd
include auth options in libvirtproyd erb
ikonia Aug 13, 2025
927ccdd
new param enable_libvirt_proxy for EL9+
ikonia Aug 13, 2025
1a2b681
create libvirtqemud.conf erb for EL9+
ikonia Aug 13, 2025
d3e3e8d
add auth params to virtqemud erb
ikonia Aug 13, 2025
95e9e21
create virtnetworkd.conf erb template for EL9+
ikonia Aug 13, 2025
b34fef6
create virtstoraged.conf erb for EL9+
ikonia Aug 13, 2025
fad9e7d
create virtinterfaced.conf erb for EL9+
ikonia Aug 13, 2025
bef55b7
create virtlogd.conf erb for EL9+
ikonia Aug 13, 2025
2f31754
create virtlockd.conf erb for EL9+
ikonia Aug 13, 2025
410b7fd
create virtnodedevd.conf erb for EL9+
ikonia Aug 13, 2025
8294bc4
add puppet managed header to file
ikonia Aug 13, 2025
8995594
create virtnwfilterd.conf erb for EL9+
ikonia Aug 13, 2025
71b2c89
create virtsecretd.conf erb for EL9+
ikonia Aug 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 13 additions & 9 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,26 @@
$sysconfig = $::libvirt::params::sysconfig,
$deb_default = $::libvirt::params::deb_default,
# libvirtd.conf options
$listen_tls = undef,
$listen_tcp = undef,
$tls_port = undef,
$tcp_port = undef,
$listen_tls = true,
$listen_tcp = false,
$tls_port = '16514',
$tcp_port = '16509',
$listen_addr = undef,
$mdns_adv = undef,
$auth_tcp = undef,
$auth_tls = undef,
$mdns_name = $::libvirt::params::mdns_name,
$auth_tcp = sasl,
$auth_tls = 'none',
$unix_sock_group = $::libvirt::params::unix_sock_group,
$unix_sock_ro_perms = undef,
$unix_sock_ro_perms = '0777',
$auth_unix_ro = $::libvirt::params::auth_unix_ro,
$unix_sock_rw_perms = $::libvirt::params::unix_sock_rw_perms,
$auth_unix_rw = $::libvirt::params::auth_unix_rw,
$unix_sock_dir = undef,
$tcp_min_ssf = '112',
$unix_sock_dir = '/run/libvirt',
$access_drivers = 'no-op',
$enable_libirtproxy = false,
# qemu.conf options
$qemu_vnc_listen = undef,
$qemu_vnc_listen = '127.0.0.1',
$qemu_vnc_sasl = undef,
$qemu_vnc_tls = undef,
$qemu_set_process_name = undef,
Expand Down
23 changes: 13 additions & 10 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
$radvd_package = 'radvd'
$sysconfig = {}
$deb_default = false
$auth_unix_ro = false
$unix_sock_rw_perms = false
$auth_unix_rw = false
$unix_sock_group = false
$auth_unix_ro = 'polkit'
$unix_sock_rw_perms = '0770'
$auth_unix_rw = 'polkit'
$unix_sock_group = root
}
'Debian': {
$libvirt_package = 'libvirt-bin'
Expand All @@ -32,9 +32,9 @@
$sysconfig = false
$deb_default = {}
# UNIX socket
$auth_unix_ro = 'none'
$auth_unix_ro = 'polkit'
$unix_sock_rw_perms = '0770'
$auth_unix_rw = 'none'
$auth_unix_rw = 'polkit'
case $facts['os']['name'] {
'Ubuntu', 'LinuxMint': {
$libvirt_service = 'libvirt-bin'
Expand All @@ -53,13 +53,16 @@
$radvd_package = 'radvd'
$sysconfig = false
$deb_default = false
$auth_unix_ro = false
$unix_sock_rw_perms = false
$auth_unix_rw = false
$unix_sock_group = false
$auth_unix_ro = 'polkit'
$unix_sock_rw_perms = '0770'
$auth_unix_rw = 'polkit'
$unix_sock_group = root
}
}


$mdns_name = "${facts['networking']['fqdn']} libvirt hypervisor"

$default_dhcp = {
'start' => '192.168.122.2',
'end' => '192.168.122.254',
Expand Down
Loading