diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/subsystems/utils.pp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/manifests/subsystems/utils.pp b/manifests/subsystems/utils.pp index ff9edf1..92e606b 100644 --- a/manifests/subsystems/utils.pp +++ b/manifests/subsystems/utils.pp @@ -76,6 +76,14 @@ class utils::personal { package { [ 'mozilla-firefox-adblock', 'iceweasel', 'sun-java6-jre', 'hplip' ]: ensure => installed, } + + # Java alternative + file { "/etc/alternatives/java": + ensure => "/usr/lib/jvm/java-6-sun/jre/bin/java", + owner => root, + group => root, + require => Package['sun-java6-jre'], + } } default: { } } @@ -121,14 +129,7 @@ class utils::personal { } } - # App alternatives - file { "/etc/alternatives/java": - ensure => "/usr/lib/jvm/java-6-sun/jre/bin/java", - owner => root, - group => root, - require => Package['sun-java6-jre'], - } - + # Flash alternative file { "/etc/alternatives/flash-mozilla.so": ensure => "/usr/lib/flashplugin-nonfree/libflashplayer.so", owner => root, |