anchor.diff:  <% end -%>
   <% elsif @collectd_options.is_a?(Array) -%>
   <% @collectd_options.each do |option| -%>
  -[collectd]
  +[[collectd]]
   <% option.keys.sort.each do |key| -%>
   <% val = @option[key] 
     if val =~ /^(true|false|[0-9]+)$/ or val.is_a?(TrueClass) or val.is_a?(FalseClass) or val.is_a?(Fixnum) -%>
  
positive.code: <% end -%>
  <% elsif @opentsdb_options.is_a?(Array) -%>
  <% @opentsdb_options.each do |option| -%>
  [opentsdb]
  <% option.keys.sort.each do |key|
     val = @option[key]
    -%>
  
negative.code: <% end -%>
  <% end -%>
  <% else -%>
  [[collectd]]
    enabled = false
  <% end -%>
  
  <% if @opentsdb_options and ! @opentsdb_options.empty? -%>
  <% if @opentsdb_options.is_a?(Hash) -%>
  [[opentsdb]]
  <% @opentsdb_options.keys.sort.each do |key| 
     val = @opentsdb_options[key] 
    -%>
  