add basic arch linux support

This commit is contained in:
Kilian Engelhardt
2017-06-20 17:38:06 +02:00
parent 8763d0b388
commit 0bcdd2bc2f
2 changed files with 24 additions and 0 deletions

View File

@@ -62,6 +62,15 @@ class java::config ( ) {
}
}
}
'Archlinux': {
if $java::use_java_home != undef {
file_line { 'java-home-environment':
path => '/etc/profile',
line => "JAVA_HOME=${$java::use_java_home}",
match => 'JAVA_HOME=',
}
}
}
default: {
# Do nothing.
}