]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Not available on wheezy: youtube-dl
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 29 Oct 2015 17:28:04 +0000 (15:28 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 29 Oct 2015 17:28:04 +0000 (15:28 -0200)
manifests/utils/multimedia/downloaders.pp

index 831c587455892d3747f99da55ae8ebd92b8adaab..26e761c650d8ad57d786ff01051c745a83e4f8f4 100644 (file)
@@ -1,5 +1,9 @@
 class nodo::utils::multimedia::downloaders {
+  # Jessie onwards
   package { 'youtube-dl':
-    ensure => present,
+    ensure => $::lsbdistcodename ? {
+      'wheezy' => absent,
+      default  => present,
+    }
   }
 }