# Multimedia utilities class utils::multimedia::studio { package { [ 'ardour', 'hydrogen', ]: ensure => $lsbdistcodename ? { 'lenny' => absent, default => installed, } } # CD extractors package { [ 'ripit', 'asunder' ]: ensure => installed, } } class utils::multimedia { # Multimedia package { [ 'alsa-tools-gui', 'mp3blaster', 'alsa-utils', 'netpbm', 'gqview', 'mpg123', 'audacious', 'qjackctl', 'gimp', 'xine-ui', 'amarok', 'wodim', 'genisoimage', 'dvd+rw-tools', 'inkscape', 'jhead', 'easytag', 'flashplugin-nonfree', 'vlc', 'audacity', 'opencubicplayer', 'moc', 'cmus', 'orpheus', 'cbrpager', 'llgal', 'darksnow', 'mplayer', 'tucan', 'ffmpeg2theora', 'oggfwd', 'libasound2-plugins', 'mencoder', 'v4l-utils' 'gstreamer-tools', ]: ensure => installed, } # Flash alternative file { "/etc/alternatives/flash-mozilla.so": ensure => "/usr/lib/flashplugin-nonfree/libflashplayer.so", owner => root, group => root, require => Package['flashplugin-nonfree'], } }