fuel-plugin-lma-collector/deployment_scripts/puppet/modules/heka/templates/output/smtp.toml.erb
Swann Croiset ff7d0ea074 Add SmtpOutput plugin
implements blueprint alerting-lma-collector

Change-Id: I96b3ba35cd90d0ab426474e77b303d3c8012df12
2015-07-29 14:58:46 +02:00

17 lines
529 B
Plaintext

[<%= @title %>_output]
type = "SmtpOutput"
message_matcher = "<%= @message_matcher %>"
encoder = "<%= @encoder %>_encoder"
send_from = "<%= @send_from %>"
send_to = [<%= @send_to.sort().collect { |email| "'#{email}'"}.join(',') %>]
subject = "<%= @subject %>"
host = "<%= @host %>"
auth = "<%= @auth %>"
<% if @user and not @user.nil? and @password != ''%>
user = "<%= @user %>"
<% end %>
<% if @password and not @password.nil? and @password != '' %>
password = "<%= @password %>"
<% end %>
send_interval = <%= @send_interval %>