aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-10-29 15:28:04 -0200
committerSilvio Rhatto <rhatto@riseup.net>2015-10-29 15:28:04 -0200
commit02bd20cf56353d4be16c2f7cb01aa73720f5c73a (patch)
tree3c63ba9ff0286cffea993a07462ec891b856de7e
parent84af6bf17eccff64721a845359e0eb2ca3befd61 (diff)
downloadpuppet-nodo-02bd20cf56353d4be16c2f7cb01aa73720f5c73a.tar.gz
puppet-nodo-02bd20cf56353d4be16c2f7cb01aa73720f5c73a.tar.bz2
Not available on wheezy: youtube-dl
-rw-r--r--manifests/utils/multimedia/downloaders.pp6
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/utils/multimedia/downloaders.pp b/manifests/utils/multimedia/downloaders.pp
index 831c587..26e761c 100644
--- a/manifests/utils/multimedia/downloaders.pp
+++ b/manifests/utils/multimedia/downloaders.pp
@@ -1,5 +1,9 @@
class nodo::utils::multimedia::downloaders {
+ # Jessie onwards
package { 'youtube-dl':
- ensure => present,
+ ensure => $::lsbdistcodename ? {
+ 'wheezy' => absent,
+ default => present,
+ }
}
}