/usr/share/puppet/modules.available/sbitio-monit/templates/conf_file_overrides.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 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | # Managed by Puppet.
set daemon <%= @check_interval %>
with start delay <%= @check_start_delay %>
set logfile <%= @logfile %>
<% if @mailserver %>
set mailserver <%= @mailserver %>
<% end -%>
<% if @eventqueue %>
set eventqueue
basedir <%= @eventqueue_basedir %>
slots <%= @eventqueue_slots %>
<% end -%>
<% if @mmonit_url %>
set mmonit <%= @mmonit_url %>
<% end -%>
set mail-format {
from: <%= @mailformat_from %>
<% if @mailformat_replyto -%>
reply-to: <%= @mailformat_replyto %>
<% end -%>
<% if @mailformat_subject -%>
subject: <%= @mailformat_subject %>
<% end -%>
<% if @mailformat_message -%>
message: <%= @mailformat_message %>
<% end -%>
}
<% if @alerts -%>
<%- @alerts.each do |alert| -%>
set alert <%= alert %>
<%- end -%>
<% end %>
<% if @httpserver -%>
set httpd
port <%= @httpserver_port %>
signature disable
<%- if @httpserver_bind_address -%>
use address <%= @httpserver_bind_address %>
<%- end -%>
<%- if @httpserver_ssl and @httpserver_pemfile -%>
ssl enable
pemfile <%= @httpserver_pemfile %>
<%- end -%>
<%- if @httpserver_allow -%>
<%- @httpserver_allow.each do |allow| -%>
allow <%= allow %>
<%- end -%>
<%- end -%>
<% end -%>
|