Puppet Class: psick::java
- Defined in:
- manifests/java.pp
Overview
This class manages JAVA installation By default it installs both the OpenJDK JRE and JDK packages.
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'manifests/java.pp', line 7
class psick::java (
Enum['present','absent'] $openjdk_jdk_ensure = 'present',
Enum['present','absent'] $openjdk_jre_ensure = 'present',
Boolean $manage = $psick::manage,
Boolean $noop_manage = $psick::noop_manage,
Boolean $noop_value = $psick::noop_value,
) {
if $manage {
if $noop_manage {
noop($noop_value)
}
tp::install { 'openjdk-jdk':
ensure => $openjdk_jdk_ensure,
}
tp::install { 'openjdk-jre':
ensure => $openjdk_jre_ensure,
}
}
}
|