diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-04-12 17:09:03 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-04-12 17:09:03 -0300 |
commit | fe1c86b8f938283e9dd8196a8b11a9648f4b49e6 (patch) | |
tree | c2d999eca03862a3e4af57e0885397adf6bbc6ec /manifests/utils/multimedia.pp | |
parent | ec5c750d12bdc7948bb3c04f0c72817718a0bf47 (diff) | |
download | puppet-nodo-fe1c86b8f938283e9dd8196a8b11a9648f4b49e6.tar.gz puppet-nodo-fe1c86b8f938283e9dd8196a8b11a9648f4b49e6.tar.bz2 |
Major refactor
Diffstat (limited to 'manifests/utils/multimedia.pp')
-rw-r--r-- | manifests/utils/multimedia.pp | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/manifests/utils/multimedia.pp b/manifests/utils/multimedia.pp new file mode 100644 index 0000000..d1a498f --- /dev/null +++ b/manifests/utils/multimedia.pp @@ -0,0 +1,48 @@ +# Multimedia utilities +class nodo::utils::multimedia { + # Multimedia + package { [ 'alsa-tools-gui', 'mp3blaster', 'alsa-utils', 'netpbm', + 'gqview', 'mpg123', 'audacious', 'qjackctl', + 'gimp', 'xine-ui', 'v4l-utils', 'inkscape', + 'easytag', 'gstreamer-tools', 'vlc', 'audacity', + 'opencubicplayer', 'youtube-dl', 'mencoder', 'libasound2-plugins', + 'cbrpager', 'llgal', 'darksnow', 'mplayer', + 'picard', 'ffmpeg2theora', 'oggfwd', 'jhead', + 'pavucontrol' ]: + ensure => installed, + } + + # Old stuff + package { [ 'flashplugin-nonfree', 'amarok', 'moc', 'cmus' ]: + ensure => purged, + } + + # Squeeze only + package { [ 'tucan', 'orpheus' ]: + ensure => $::lsbdistcodename ? { + 'squeeze' => installed, + default => purged, + } + } + + # Wheezy onwards + package { 'landell': + ensure => $::lsbdistcodename ? { + 'squeeze' => absent, + default => installed, + } + } + + # Flash + package { 'browser-plugin-gnash': + ensure => installed, + } + + # Flash alternative + file { "/etc/alternatives/flash-mozilla.so": + ensure => "/usr/lib/gnash/libgnashplugin.so", + owner => root, + group => root, + require => Package['flashplugin-nonfree'], + } +} |