]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Spice client not available on stretch onwards
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 11 Jul 2017 18:08:47 +0000 (15:08 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 11 Jul 2017 18:08:47 +0000 (15:08 -0300)
manifests/utils/virtual.pp

index 1533a77e21481ee9550a1503b4e3b390010fb4ed..f9d0cc9dfa255038c3e7fb229446f2491242a97b 100644 (file)
@@ -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 { [