blob: 89a93d9bc19acbaf851b6068894c3be163a43345 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
class nodo::utils::multimedia::shockwave (
$ensure = 'installed',
) {
# See also https://github.com/i-rinat/freshplayerplugin
package { [
'flashplugin-nonfree',
]:
ensure => $ensure,
}
# Flash alternative
file { "/etc/alternatives/flash-mozilla.so":
owner => root,
group => root,
ensure => $ensure ? {
'present' => "/usr/lib/flashplugin-nonfree/libflashplayer.so",
'installed' => "/usr/lib/flashplugin-nonfree/libflashplayer.so",
default => undef,
},
require => Package['flashplugin-nonfree'],
}
}
|