aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-12-24 23:15:57 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-12-24 23:15:57 -0200
commit59a7056f1ec650a6a004862f185a29d127fefca0 (patch)
treef3e593c6225ce8139034a2025c066fb1305ab1ba /manifests
parent202f3b8e0d196e6a8ad569db36928370ce72f6a8 (diff)
downloadpuppet-nodo-59a7056f1ec650a6a004862f185a29d127fefca0.tar.gz
puppet-nodo-59a7056f1ec650a6a004862f185a29d127fefca0.tar.bz2
Managing flash plugin
Diffstat (limited to 'manifests')
-rw-r--r--manifests/subsystems/utils.pp16
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'],
}
}