# This file was generated by Chef Infra
# Do NOT modify this file by hand.

[<%= @config.repo_name %>]
<% %w{ type enabled autorefresh gpgcheck gpgkey baseurl mirrorlist path priority keeppackages mode refresh_cache }.each do |prop| -%>
<%  next if @config.send(prop.to_sym).nil? || (@config.send(prop.to_sym).is_a?(Array) && @config.send(prop.to_sym).empty?) -%>
<%= prop %>=<%=
       case @config.send(prop.to_sym)
       when TrueClass
         '1'
       when FalseClass
         '0'
       when Array
         @config.send(prop.to_sym).join("\n       ")
       else
         @config.send(prop.to_sym)
       end %>
<% end -%>
name=<%= @config.description || @config.repo_name %>
