aboutsummaryrefslogtreecommitdiffstats
path: root/modules/libvirtd/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/libvirtd/manifests')
-rw-r--r--modules/libvirtd/manifests/init.pp15
1 files changed, 2 insertions, 13 deletions
diff --git a/modules/libvirtd/manifests/init.pp b/modules/libvirtd/manifests/init.pp
index fb6ffaed..52c3eada 100644
--- a/modules/libvirtd/manifests/init.pp
+++ b/modules/libvirtd/manifests/init.pp
@@ -5,24 +5,13 @@ class libvirtd {
# netcat-openbsd -> for ssh remote access
# iptables -> for dhcp, message error was quite puzzling
# python-* => needed for helper script
-if versioncmp($::lsbdistrelease, '7') < 0 {
- package {['libvirt-utils',
- 'dnsmasq-base',
- 'netcat-openbsd',
- 'iptables',
- 'python-libvirt',
- 'python-IPy']:
-
- }
-} else {
package {['libvirt-utils',
'dnsmasq',
'netcat-openbsd',
'iptables',
- 'python2-libvirt',
- 'python-IPy']:
+ 'python3-libvirt',
+ 'python3-IPy']:
}
-}
service { 'libvirtd':
require => Package['libvirt-utils'],
}