Merge pull request #77 from PierreR/patch-2

Fix syntax
This commit is contained in:
Hunter Haugen
2014-09-29 09:28:17 -07:00

View File

@@ -1,7 +1,7 @@
# On Debian systems, if alternatives are set, manually assign them. # On Debian systems, if alternatives are set, manually assign them.
class java::config ( ) { class java::config ( ) {
case $::osfamily { case $::osfamily {
Debian: { 'Debian': {
if $java::use_java_alternative != undef and $java::use_java_alternative_path != undef { if $java::use_java_alternative != undef and $java::use_java_alternative_path != undef {
exec { 'update-java-alternatives': exec { 'update-java-alternatives':
path => '/usr/bin:/usr/sbin:/bin:/sbin', path => '/usr/bin:/usr/sbin:/bin:/sbin',