This change separates the package resource into an implementation class following the composite class pattern. In addition, the _real variables have been removed to prevent confusion. The validation functions have been updated to support a more clear regular expression. The debian package names are different, so conditional logic is required to set a debian based distro specific variable for the Java distribution name. While the puppet resources work, there is currently an issue on Lucid where the package REQUIRES interactive installation to accept the license agreement. This will need to be fixed for fully automated deployment on apt based systems.
1.1 KiB
1.1 KiB