From 25c9bddbc3fa8cc36e4d7e71853c5e14de2f37be Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Mon, 16 Sep 2019 12:01:19 +0300 Subject: adjust libvirtd deps for mga7 --- modules/libvirtd/manifests/init.pp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'modules/libvirtd') diff --git a/modules/libvirtd/manifests/init.pp b/modules/libvirtd/manifests/init.pp index 46b60d3a..0c7edf0d 100644 --- a/modules/libvirtd/manifests/init.pp +++ b/modules/libvirtd/manifests/init.pp @@ -6,10 +6,15 @@ class libvirtd { # iptables -> for dhcp, message error was quite puzzling # python-* => needed for helper script package {['libvirt-utils', + if versioncmp($::lsbdistrelease, '7') < 0 { + 'dnsmasq', + 'python2-libvirt', + } else { 'dnsmasq-base', + 'python-libvirt', + } 'netcat-openbsd', 'iptables', - 'python-libvirt', 'python-IPy']: } -- cgit v1.2.1