This file is indexed.

/usr/share/puppet/modules.available/puppet-community-mcollective/templates/refresh-mcollective-metadata.erb 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
#!<%= @ruby_shebang_path %>
require 'rubygems'
require 'facter'
require 'facter/application'

Facter::Application.load_puppet

facts = YAML.dump(Facter.to_hash)

File.open('<%= @yaml_fact_path_real -%>.new', 'w') do |f|
  f.puts facts
end

File.rename('<%= @yaml_fact_path_real -%>.new', '<%= @yaml_fact_path_real -%>')