diff --git a/manifests/init.pp b/manifests/init.pp index ce5dcb9a..55d69941 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -135,6 +135,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. }