Fixes #37291 - Use explicit java on RH with Puppetserver 8
The /usr/bin/java file may point to any version. This changes the logic to determine the java version (unless explicitly specified) dynamically based on the puppetserver version and the OS.
Related issues
Bug #37291: Ensure correct Java is used with Puppetserver 8
Fixes #37291 - Use explicit java on RH with Puppetserver 8
The /usr/bin/java file may point to any version. This changes the logic
to determine the java version (unless explicitly specified) dynamically
based on the puppetserver version and the OS.