Displaying 1 result from an estimated 1 matches for "gsk_version".
Did you mean:
get_version
2011 Sep 21
2
Two parameterized classes calling both a thirth class (results in already defined)
Hi all,
I have three parameterized classes, named mq, mq_gsk and apache.
The mq class always calls the mq_gsk class, but the apache class
should only call the mq_gsk class when the mq class is not used in a
hosts'' node definition
Here is my configuration
class mq (
$gsk_version = undef ) {
require mq::params
< ..... >
class { ''mq_gsk'':
gsk_version => "${mq::params::package_gsk_version}",
}
}
class mq_gsk (
$gsk_version = undef ) {
require mq_gsk::params
package { $mq_gsk::params::gsk_packages:
ensure =>...