Newer
Older
puppet-monit / templates / options.erb
@Andreas Jaggi Andreas Jaggi on 10 May 2013 509 bytes Use default values and cleanup template
#
# automatically generated by puppet for <%= fqdn %>, DO NOT MODIFY!
#

# check services interval
<% if @interval then %>
set daemon <%= @interval %>
<% end %>

<% if @mailserver then %>
set mailserver <%= @mailserver %>
<% end %>

<% if @email then %>
set alert <%= @email %>
<% end %>

<% if @http_address and @http_allow and @http_user and @http_password then %>
set httpd port 2812 and
	use address <%= @http_address %>
	allow <%= @http_allow %>
	allow <%= @http_user %>:<%= @http_password %>
<% end %>