This file is indexed.

/usr/share/puppet/modules.available/sbitio-monit/templates/check/common.erb is in puppet-module-sbitio-monit 1.0.0-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
  GROUP <%= @group %>
<%- unless @depends.empty? -%>
  DEPENDS <%= @depends.join(', ') %>
<%- end -%>
<%- unless @alerts.empty? -%>
  <%- @alerts.each do |alert| -%>
  ALERT <%= alert %>
  <%- end -%>
<%- end %>
<%- unless @noalerts.empty? -%>
  <%- @noalerts.each do |noalert| -%>
  NOALERT <%= noalert %>
  <%- end -%>
<%- end -%>
<%- @tests_real.each do |test| -%>
  IF <%= test['condition'] %>
  <%- if test.key? 'tolerance' -%>
    FOR <%= test['tolerance'] %>
  <%- end -%>
  THEN <%= test['action'] %>
<%- end -%>