aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
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',
+ },
+ }
}