aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-05-08 13:46:52 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-05-08 13:46:52 -0300
commitc09365e1a58d6bdb648870959e64806fb290025e (patch)
treec2c6ff331eba627fbbe758b1e197f174d8899332 /manifests
parent8de95bd22eda8485f810ebc7adb9a8c55567a5f9 (diff)
downloadpuppet-nodo-c09365e1a58d6bdb648870959e64806fb290025e.tar.gz
puppet-nodo-c09365e1a58d6bdb648870959e64806fb290025e.tar.bz2
Setting java alternative at utils::personal
Diffstat (limited to 'manifests')
-rw-r--r--manifests/subsystems/utils.pp7
1 files changed, 7 insertions, 0 deletions
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