From de35bf91aaecfdfcb60bde062eb77ead5213e8bf Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 25 Aug 2015 19:30:32 -0300 Subject: Package mplayer2 on jessie --- manifests/utils/multimedia/minimal.pp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'manifests/utils/multimedia') 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', + }, + } } -- cgit v1.2.3