Puppet Class: wls_profile::weblogic::java_software
- Inherits:
- wls_profile
- Defined in:
- manifests/weblogic/java_software.pp
Summary
This class is the default implementation for making sure the Java software is correctly installed on your system.Overview
+--
+
wls_profile::java_software
Using hiera, you can customize some of the aspects of this process.
When these customizations aren't enough, you can replace the class with your own class. See wls_profile::weblogic for an explanation on how to do this.
–++–
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'manifests/weblogic/java_software.pp', line 47
class wls_profile::weblogic::java_software(
String $version,
String $full_version,
String $cryptography_extension_file,
String $source,
Boolean $urandom_fix,
Boolean $rsa_key_size_fix,
Boolean $x64,
Integer $alternatives_priority,
) inherits wls_profile {
echo {"Java version ${version}":
withpath => false
}
$remove = [ 'java-1.7.0-openjdk.x86_64', 'java-1.6.0-openjdk.x86_64' ]
package { $remove:
ensure => absent,
}
->jdk7::install7{ "jdk-${version}-linux-x64":
version => $version ,
full_version => $full_version,
alternatives_priority => $alternatives_priority,
x64 => $x64,
download_dir => '/var/tmp/install',
urandom_java_fix => $urandom_fix,
rsa_key_size_fix => $rsa_key_size_fix,
cryptography_extension_file => $cryptography_extension_file,
source_path => $source,
}
}
|