aboutsummaryrefslogtreecommitdiffstats
path: root/modules/libvirtd
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2019-09-16 12:01:19 +0300
committerThomas Backlund <tmb@mageia.org>2019-09-16 12:01:19 +0300
commit25c9bddbc3fa8cc36e4d7e71853c5e14de2f37be (patch)
treebe3ec0cc1675083317bc0cf8cfce3e4153ba4817 /modules/libvirtd
parent85688bcc4cbdf74eacc04c92954e41cc4951cc40 (diff)
downloadpuppet-25c9bddbc3fa8cc36e4d7e71853c5e14de2f37be.tar
puppet-25c9bddbc3fa8cc36e4d7e71853c5e14de2f37be.tar.gz
puppet-25c9bddbc3fa8cc36e4d7e71853c5e14de2f37be.tar.bz2
puppet-25c9bddbc3fa8cc36e4d7e71853c5e14de2f37be.tar.xz
puppet-25c9bddbc3fa8cc36e4d7e71853c5e14de2f37be.zip
adjust libvirtd deps for mga7
Diffstat (limited to 'modules/libvirtd')
-rw-r--r--modules/libvirtd/manifests/init.pp7
1 files changed, 6 insertions, 1 deletions
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']:
}