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

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

Issue 29371558: Issue 4701 - Use of array for compatibility with pupet 2 and 3 (Closed)
Patch Set: Created Jan. 11, 2017, 4:40 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 | no next file » | 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 | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld