Commit 42d51200 authored by Lloyd Philbrook's avatar Lloyd Philbrook
Browse files

allow multiple email_to addresses

parent 75b00408
......@@ -5,7 +5,9 @@
<% else -%>
<email_notification>no</email_notification>
<% end -%>
<email_to><%= @ossec['email'] %></email_to>
<% Array(@ossec['email']).each do |email| -%>
<email_to><%= email %></email_to>
<% end -%>
<smtp_server><%= @ossec['smtp'] %></smtp_server>
<email_from>ossecm@<%= node['fqdn'] %></email_from>
<% @ossec['white_list'].each do |wl| -%>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment