aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/utils/multimedia/gnash.pp17
-rw-r--r--manifests/utils/multimedia/shockwave.pp2
2 files changed, 18 insertions, 1 deletions
diff --git a/manifests/utils/multimedia/gnash.pp b/manifests/utils/multimedia/gnash.pp
new file mode 100644
index 0000000..3cd564f
--- /dev/null
+++ b/manifests/utils/multimedia/gnash.pp
@@ -0,0 +1,17 @@
+class nodo::utils::multimedia::gnash {
+ package { 'flashplugin-nonfree':
+ ensure => purged,
+ }
+
+ package { 'browser-plugin-gnash':
+ ensure => present,
+ }
+
+ # Flash alternative
+ file { "/etc/alternatives/flash-mozilla.so":
+ owner => root,
+ group => root,
+ ensure => "/usr/lib/gnash/libgnashplugin.so",
+ require => Package['browser-plugin-gnash'],
+ }
+}
diff --git a/manifests/utils/multimedia/shockwave.pp b/manifests/utils/multimedia/shockwave.pp
index e167542..d7dc1d6 100644
--- a/manifests/utils/multimedia/shockwave.pp
+++ b/manifests/utils/multimedia/shockwave.pp
@@ -5,9 +5,9 @@ class nodo::utils::multimedia::shockwave {
# Flash alternative
file { "/etc/alternatives/flash-mozilla.so":
- ensure => "/usr/lib/gnash/libgnashplugin.so",
owner => root,
group => root,
+ ensure => "/usr/lib/flashplugin-nonfree/libflashplayer.so",
require => Package['flashplugin-nonfree'],
}
}