From 59a7056f1ec650a6a004862f185a29d127fefca0 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 24 Dec 2010 23:15:57 -0200 Subject: Managing flash plugin --- manifests/subsystems/utils.pp | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'manifests') diff --git a/manifests/subsystems/utils.pp b/manifests/subsystems/utils.pp index aae26b7..a55941e 100644 --- a/manifests/subsystems/utils.pp +++ b/manifests/subsystems/utils.pp @@ -65,7 +65,7 @@ class utils::personal { 'rxvt-unicode', 'recode', 'twinkle', 'figlet', 'bittornado', 'encfs', 'rtorrent', 'p7zip-full', 'signing-party', - 'easytag' ]: + 'easytag', 'flashplugin-nonfree' ]: ensure => installed, } @@ -114,9 +114,17 @@ class utils::personal { # App alternatives file { "/etc/alternatives/java": - ensure => "/usr/lib/jvm/java-6-sun/jre/bin/java", - owner => root, - group => root, + ensure => "/usr/lib/jvm/java-6-sun/jre/bin/java", + owner => root, + group => root, + require => Package['sun-java6-jre'], + } + + file { "/etc/alternatives/flash-mozilla.so": + ensure => "/usr/lib/flashplugin-nonfree/libflashplayer.so", + owner => root, + group => root, + require => Package['flashplugin-nonfree'], } } -- cgit v1.2.3