From c09365e1a58d6bdb648870959e64806fb290025e Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 8 May 2010 13:46:52 -0300 Subject: Setting java alternative at utils::personal --- manifests/subsystems/utils.pp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'manifests') diff --git a/manifests/subsystems/utils.pp b/manifests/subsystems/utils.pp index ea6211b..a633317 100644 --- a/manifests/subsystems/utils.pp +++ b/manifests/subsystems/utils.pp @@ -79,6 +79,13 @@ class utils::personal { require => Package['ruby'], } } + + # App alternatives + file { "/etc/alternatives/java": + ensure => "/usr/lib/jvm/java-6-sun/jre/bin/java", + owner => root, + group => root, + } } # Common utilities for laptop -- cgit v1.2.3