|
Package['jre-17-headless'] -> Package[$server_package] |
On this line you try to install the package jre-17-headless when the os.family is RedHat and the major version is 8. But that package is not available on those systems. It is called openjdk-17-headless op those systems.
Maybe you could make the package name configurable?