Fix syntax

This commit is contained in:
Pi3r
2014-09-01 14:39:24 +02:00
parent db0f428a66
commit 5ad98b17be

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',