]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
More gnash/shockwave changes
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 13 Jul 2013 19:48:14 +0000 (16:48 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 13 Jul 2013 19:48:14 +0000 (16:48 -0300)
manifests/utils/multimedia/gnash.pp [new file with mode: 0644]
manifests/utils/multimedia/shockwave.pp

diff --git a/manifests/utils/multimedia/gnash.pp b/manifests/utils/multimedia/gnash.pp
new file mode 100644 (file)
index 0000000..3cd564f
--- /dev/null
@@ -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'],
+  }
+}
index e1675428bd86633b514e9044ca00044a810c47ff..d7dc1d641e5712cdc198d74fe01def848b7f0daf 100644 (file)
@@ -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'],
   }
 }