aboutsummaryrefslogtreecommitdiffstats
path: root/modules/libvirtd
diff options
context:
space:
mode:
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']:
}