class nodo::utils::multimedia::gnash ( $ensure = 'installed', ) { package { [ 'flashplugin-nonfree', ]: ensure => purged, } package { [ 'browser-plugin-gnash', ]: ensure => $ensure, } # Flash alternative file { "/etc/alternatives/flash-mozilla.so": owner => root, group => root, ensure => $ensure ? { 'installed','present' => "/usr/lib/gnash/libgnashplugin.so", default => undef, }, require => Package['browser-plugin-gnash'], } }