diff options
Diffstat (limited to 'manifests/subsystems/utils/java.pp')
-rw-r--r-- | manifests/subsystems/utils/java.pp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/manifests/subsystems/utils/java.pp b/manifests/subsystems/utils/java.pp index 903bc73..49f25ee 100644 --- a/manifests/subsystems/utils/java.pp +++ b/manifests/subsystems/utils/java.pp @@ -1,12 +1,16 @@ class utils::java { # Java package { [ 'sun-java6-jre', 'openjdk-6-jre' ]: - ensure => installed, + ensure => absent, + } + + package { 'default-jre': + ensure => present, } # Java alternative file { "/etc/alternatives/java": - ensure => "/usr/lib/jvm/java-6-sun/jre/bin/java", + ensure => "/usr/lib/jvm/java-6-openjdk/jre/bin/java", owner => root, group => root, require => Package['sun-java6-jre'], |