diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-08-25 19:30:32 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-08-25 19:30:32 -0300 |
commit | de35bf91aaecfdfcb60bde062eb77ead5213e8bf (patch) | |
tree | f0581fe706b6d4a8149905d9803f3ae2c323489c /manifests | |
parent | a3c60b8a5d1caeb6e8f8a6828bdb2ea7b0ff2759 (diff) | |
download | puppet-nodo-de35bf91aaecfdfcb60bde062eb77ead5213e8bf.tar.gz puppet-nodo-de35bf91aaecfdfcb60bde062eb77ead5213e8bf.tar.bz2 |
Package mplayer2 on jessie
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/utils/multimedia/minimal.pp | 10 |
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', + }, + } } |