Skip to content

Commit

Permalink
simple flatten
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfaba committed May 23, 2024
1 parent d90d267 commit 18700d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/zabbix_agentd.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ LoadModulePath=<%= @loadmodulepath %>
# Mandatory: yes, if TLS certificate or PSK parameters are defined (even for 'unencrypted' connection)
# Default:
# TLSAccept=unencrypted
<% if @tlsaccept and ( @tlsaccept.instance_of?(Array) or @tlsaccept.instance_of?(String) ) %>TLSAccept=<% if @tlsaccept.instance_of?(Array) %><%= scope.call_function('join', [@tlsaccept, ',']) %><% elsif @tlsaccept.instance_of?(String) %><%= @tlsaccept %><% end %><% end %>
<% if @tlsaccept %>TLSAccept=<%= [@tlsaccept].flatten.join(',') %><% end %>

### Option: TLSCAFile
# Full pathname of a file containing the top-level CA(s) certificates for
Expand Down

0 comments on commit 18700d4

Please sign in to comment.