Puppet Class: mcollective::server::config::connector::activemq
- Defined in:
- manifests/server/config/connector/activemq.pp
Overview
private class
2 3 4 5 6 7 8 9 10 11 12 |
# File 'manifests/server/config/connector/activemq.pp', line 2
class mcollective::server::config::connector::activemq {
if $caller_module_name != $module_name {
fail("Use of private class ${name} by ${caller_module_name}")
}
# Oh puppet! Fake iteration of the indexes (+1 as plugin.activemq.pool is
# 1-based)
$pool_size = size(flatten([$mcollective::middleware_hosts]))
$indexes = mco_array_to_string(range('1', $pool_size))
mcollective::server::config::connector::activemq::hosts_iteration { $indexes: }
}
|