You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
download_url parameter in main class jboss has been moved to params file in commit 26c7345 (PR #26). This causes numerous issues when overriding $product or $version parameters using main class. Like this:
class { 'jboss':
product => 'wildfly',
version => '9.0.2.Final',
}
In this example $download_url is being resolved in params.pp file and default values of $product and $version are being used.
There are 2 propositions to fix this:
Move download_url to runtime class and calculate there
Moving $download_url to jboss::internal::runtime class
Set parameters from jboss class to jboss::internal::runtime class
Use parameters from jboss::internal::runtime class instead of params.pp
Update all references to $jboss::internal::runtime::download_url instead of $jboss::params::download_url
Calculate in params using product and version in runtime class
Set parameters from jboss class to jboss::internal::runtime class
Use parameters from jboss::internal::runtime class instead of params.pp
The text was updated successfully, but these errors were encountered:
download_url
parameter in main classjboss
has been moved to params file in commit 26c7345 (PR #26). This causes numerous issues when overriding$product
or$version
parameters using main class. Like this:In this example
$download_url
is being resolved inparams.pp
file and default values of$product
and$version
are being used.There are 2 propositions to fix this:
Move download_url to runtime class and calculate there
$download_url
tojboss::internal::runtime
classjboss
class tojboss::internal::runtime
classjboss::internal::runtime
class instead ofparams.pp
$jboss::internal::runtime::download_url
instead of$jboss::params::download_url
Calculate in params using product and version in runtime class
jboss
class tojboss::internal::runtime
classjboss::internal::runtime
class instead ofparams.pp
The text was updated successfully, but these errors were encountered: