25 lines
584 B
Plaintext
25 lines
584 B
Plaintext
# MANAGED BY CHEF, DO NOT MODIFY
|
|
#
|
|
# This is a configuration file for Zabbix proxy daemon
|
|
# To get more information about Zabbix, visit http://www.zabbix.com
|
|
|
|
<%
|
|
@params.each do |option, value|
|
|
if value.kind_of?(String) -%>
|
|
<%= "#{option}=#{value}" unless value.nil? %>
|
|
<%
|
|
elsif value.kind_of?(Array)
|
|
case option
|
|
when 'LoadModule', 'Include'
|
|
value.each do |line| -%>
|
|
<%= "#{option}=#{line}" unless line.nil? %>
|
|
<%
|
|
end
|
|
when 'ListenIP', 'Server', 'ServerActive', 'TLSAccept' %>
|
|
<%= "#{option}=#{value.join(',')}" unless value.nil? %>
|
|
<%
|
|
end
|
|
end
|
|
end
|
|
%>
|