}
}
- # 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'],
- }
+ # Flash implementation
+ $flash = hiera('nodo::utils::multimedia::flash', 'gnash')
+ class { "nodo::utils::multimedia::${flash}": }
}
+++ /dev/null
-class nodo::utils::multimedia::flash {
- package { 'flashplugin-nonfree':
- ensure => installed ,
- }
-}
--- /dev/null
+class nodo::utils::multimedia::shockwave {
+ package { 'flashplugin-nonfree':
+ ensure => installed ,
+ }
+
+ # Flash alternative
+ file { "/etc/alternatives/flash-mozilla.so":
+ ensure => "/usr/lib/gnash/libgnashplugin.so",
+ owner => root,
+ group => root,
+ require => Package['flashplugin-nonfree'],
+ }
+}