This file is indexed.

/usr/share/puppet/modules.available/puppet-community-mcollective/manifests/common/config/connector/redis.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
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Private class
class mcollective::common::config::connector::redis {
  if $caller_module_name != $module_name {
    fail("Use of private class ${name} by ${caller_module_name}")
  }

  mcollective::common::setting { 'direct_addressing':
    value => 'yes',
  }

  mcollective::common::setting { 'direct_addressing_threshold':
    value => 5,
  }

  # Redis connector only uses one host to connect to.  Assume that the first will
  # be OK
  mcollective::common::setting { 'plugin.redis.host':
    value => $mcollective::middleware_hosts[0],
  }

  mcollective::plugin { 'connector/redis': }

  package { 'rubygem-redis':
    ensure => installed,
  }
}