diff --git a/manifests/init.pp b/manifests/init.pp index 31750303..f08d05aa 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -131,6 +131,8 @@ ensure => $version, install_options => $package_options, name => $use_java_package_name, + before => Class['java::config'], } - -> class { 'java::config': } + + contain java::config # NB evalutation order is important here as the config class relies on variables from the base class having been set before it's evaluated. }