aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/multimedia.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/utils/multimedia.pp')
-rw-r--r--manifests/utils/multimedia.pp15
1 files changed, 3 insertions, 12 deletions
diff --git a/manifests/utils/multimedia.pp b/manifests/utils/multimedia.pp
index 7939a2a..e570c54 100644
--- a/manifests/utils/multimedia.pp
+++ b/manifests/utils/multimedia.pp
@@ -33,16 +33,7 @@ class nodo::utils::multimedia inherits nodo::utils::multimedia::minimal {
}
}
- # 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}": }
}