aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-07-11 15:08:47 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-07-11 15:08:47 -0300
commit039a1b998bf517c9eaa4a3e451d0c14ea5bdf783 (patch)
treea089d193a0d3c954277f3aa145e3ec48bf0fa28e
parente764e3d667082647221bd43c06d9d62388ccbaf2 (diff)
downloadpuppet-nodo-039a1b998bf517c9eaa4a3e451d0c14ea5bdf783.tar.gz
puppet-nodo-039a1b998bf517c9eaa4a3e451d0c14ea5bdf783.tar.bz2
Spice client not available on stretch onwards
-rw-r--r--manifests/utils/virtual.pp8
1 files changed, 7 insertions, 1 deletions
diff --git a/manifests/utils/virtual.pp b/manifests/utils/virtual.pp
index 1533a77..f9d0cc9 100644
--- a/manifests/utils/virtual.pp
+++ b/manifests/utils/virtual.pp
@@ -11,12 +11,18 @@ class nodo::utils::virtual (
# For graphical interfacing with virtual machines
'xpra',
'virt-viewer',
- 'spice-client',
'spice-client-gtk',
]:
ensure => $ensure,
}
+ package { 'spice-client':
+ ensure => $::lsbdistcodename ? {
+ 'jessie' => installed,
+ default => absent,
+ },
+ }
+
# We're not managing this package as we're favouring the
# virtualbox package which doesn't needs it.
#package { [