aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-08-25 19:30:32 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-08-25 19:30:32 -0300
commitde35bf91aaecfdfcb60bde062eb77ead5213e8bf (patch)
treef0581fe706b6d4a8149905d9803f3ae2c323489c /manifests
parenta3c60b8a5d1caeb6e8f8a6828bdb2ea7b0ff2759 (diff)
downloadpuppet-nodo-de35bf91aaecfdfcb60bde062eb77ead5213e8bf.tar.gz
puppet-nodo-de35bf91aaecfdfcb60bde062eb77ead5213e8bf.tar.bz2
Package mplayer2 on jessie
Diffstat (limited to 'manifests')
-rw-r--r--manifests/utils/multimedia/minimal.pp10
1 files changed, 9 insertions, 1 deletions
diff --git a/manifests/utils/multimedia/minimal.pp b/manifests/utils/multimedia/minimal.pp
index c54a7d3..04709ed 100644
--- a/manifests/utils/multimedia/minimal.pp
+++ b/manifests/utils/multimedia/minimal.pp
@@ -1,5 +1,13 @@
class nodo::utils::multimedia::minimal {
- package { [ 'mplayer', 'alsa-utils', 'mpg123', 'mediainfo' ]:
+ package { [ 'alsa-utils', 'mpg123', 'mediainfo' ]:
ensure => installed,
}
+
+ package { 'mplayer':
+ ensure => present,
+ name => $::lsbdistcodename ? {
+ 'wheezy' => 'mplayer',
+ default => 'mplayer2',
+ },
+ }
}