puppetlabs-java icon indicating copy to clipboard operation
puppetlabs-java copied to clipboard

The install_path variable can leads to corrective actions at every run

Open chris968 opened this issue 1 year ago • 0 comments

The install_path variable from the download.pp file can leads to a corrective actions at every run in some cases.

In our case we download the openjdk in tar.gz format from an URL and the folder created by the archive extraction has a different format the the format specified in the install_path variable:

The variable value should be: $install_path = "${java_se}-${release_major}.${release_minor}" instead of: $install_path = "${java_se}${release_major}${release_minor}"

perhaps the variable should support other formats or be configurable ?

chris968 avatar Nov 05 '24 10:11 chris968