templates/default/generic.conf.erb
<% stanzas = CernerSplunk::ConfTemplate.convert_stanzas @stanzas -%># This file is auto-generated and managed by the cerner_splunk Chef cookbook.
# Manual changes to this file may be lost or modified during future Chef executions.
<% stanzas['default'].each do |key,value| -%>
<%=key%> = <%=value%>
<% end if stanzas['default'] -%>
<% stanzas.each do |stanza,hash|
next if 'default' == stanza -%>
[<%=stanza%>]
<% hash.each do |key,value| -%>
<%=key%> = <%=value%>
<% end -%>
<% end -%>