Support Scientific Linux

Addresses issue #37
This commit is contained in:
Brett Porter
2013-08-05 13:52:09 +10:00
parent f3f521d7bc
commit 304a4343ab
3 changed files with 12 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ class java::params {
'RedHat': {
case $::operatingsystem {
default: { fail("unsupported os ${::operatingsystem}") }
'RedHat', 'CentOS', 'OracleLinux': {
'RedHat', 'CentOS', 'OracleLinux', 'Scientific': {
if (versioncmp($::operatingsystemrelease, '5.0') < 0) {
$jdk_package = 'java-1.6.0-sun-devel'
$jre_package = 'java-1.6.0-sun'