Skip to content

Commit

Permalink
Merge pull request #327 from wazuh/fix-integrations-block-render
Browse files Browse the repository at this point in the history
Integrations: Use manager ossec conf as render target.
  • Loading branch information
Zenidd authored Dec 21, 2020
2 parents 3eb4284 + dd1e92c commit 6546f6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/integration.pp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
require wazuh::params_manager

concat::fragment { $name:
target => 'ossec.conf',
target => 'manager_ossec.conf',
order => 60,
content => template('wazuh/fragments/_integration.erb')
}
Expand Down
2 changes: 2 additions & 0 deletions templates/fragments/_integration.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
<% if @in_location != '' -%>
<event_location><%= @in_location %></event_location>
<% end %>
<% if @in_format != '' -%>
<alert_format><%= @in_format %></alert_format>
<% end %>
<% if @in_max_log != '' -%>
<max_log><%= @in_max_log %></max_log>
<% end %>
Expand Down

0 comments on commit 6546f6c

Please sign in to comment.