/usr/share/puppet/modules.available/puppet-community-mcollective/manifests/server/config/connector/activemq.pp is in puppet-module-puppet-community-mcollective 0.6.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | # private class
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: }
}
|