2017-02-07 01:02:03 -05:00
|
|
|
# MANAGED BY CHEF, DO NOT MODIFY
|
|
|
|
#
|
|
|
|
# This is a configuration file for Zabbix Server process
|
|
|
|
# To get more information about Zabbix,
|
|
|
|
# visit http://www.zabbix.com
|
|
|
|
|
2017-02-14 08:24:03 -05:00
|
|
|
<%
|
|
|
|
@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
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
%>
|