diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-12-24 23:15:57 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-12-24 23:15:57 -0200 |
commit | 59a7056f1ec650a6a004862f185a29d127fefca0 (patch) | |
tree | f3e593c6225ce8139034a2025c066fb1305ab1ba | |
parent | 202f3b8e0d196e6a8ad569db36928370ce72f6a8 (diff) | |
download | puppet-nodo-59a7056f1ec650a6a004862f185a29d127fefca0.tar.gz puppet-nodo-59a7056f1ec650a6a004862f185a29d127fefca0.tar.bz2 |
Managing flash plugin
-rw-r--r-- | manifests/subsystems/utils.pp | 16 |
1 files changed, 12 insertions, 4 deletions
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'], } } |