Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/fail2ban/templates/jail.erb

Issue 29370944: NoIssue - Write fail2ban configuration for CVE-2013-0235 on web2 (Closed)
Patch Set: Fixing call function inside template Created Jan. 11, 2017, 4:04 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | modules/private-stub/hiera/hosts/web2.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/fail2ban/templates/jail.erb
===================================================================
--- a/modules/fail2ban/templates/jail.erb
+++ b/modules/fail2ban/templates/jail.erb
@@ -4,7 +4,7 @@
<% if config['filter'].empty? -%>
filter = <%= name %>
<% end -%>
-<% configuration = scope.function_merge(@jail_default, config) -%>
+<% configuration = scope.function_merge([@jail_default, config]) -%>
<% configuration.each do |key, value| -%>
<%= key %> = <%= value %>
<% end %>
« no previous file with comments | « no previous file | modules/private-stub/hiera/hosts/web2.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld