Skip to content

Commit

Permalink
type check
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfaba committed May 17, 2024
1 parent 1ead2b3 commit 302c130
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 %>TLSAccept=<% if @tlsaccept =~ Array %><%= scope.call_function('join', [@tlsaccept, ',']) %><% elsif @tlsaccept =~ Enum['unencrypted','psk','cert'] %><%= @tlsaccept %><% end %><% end %>
<% if @tlsaccept %>TLSAccept=<% if String(type(@tlsaccept,'generalized')).index('Array') == 0 %><%= scope.call_function('join', [@tlsaccept, ',']) %><% else %><%= @tlsaccept %><% end %><% end %>

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

0 comments on commit 302c130

Please sign in to comment.