anchor.diff:  proxy=_none_
   <% end -%>
   
  -<% unless (@dist == "el" and @release == 4) -%>
  +<% unless (@dist == "el" and @release == "4") -%>
   [epel-<%=@dist%>-<%=@release%>-<%=@arch%>]
   name=epel-<%=@dist%>-<%=@release%>-<%=@arch%>
   mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-<%=@release%>&arch=<%=@arch%>
  
positive.code: config_opts['root'] = '<%=@name%>'
  config_opts['target_arch'] = '<%=@arch%>'
  config_opts['legal_host_arches'] = (<%= if @arch =~ /i\d86/ then "'i386', 'i586', 'i686', 'x86_64'" else "'x86_64'" end %>)
  <% if @dist == "el" and @release == 7 %>
  config_opts['chroot_setup_cmd'] = 'install @buildsys-build redhat-release-everything systemd'
  <% elsif @dist == "el" and @release == 4 %>
  config_opts['chroot_setup_cmd'] = 'install buildsys-build'
  <% else %>
  config_opts['chroot_setup_cmd'] = 'install @buildsys-build'
  <% end %>
  config_opts['dist'] = '<%=@dist%><%=@release%>'  # only useful for --resultdir variable subst
  config_opts['plugin_conf']['ccache_enable'] = False
  config_opts['macros']['%vendor'] = 'Puppet Labs'
  config_opts['macros']['%dist'] = '.<%=@dist%><%=@release%>'
  <% if @dist == "el" %>
  config_opts['macros']['%rhel'] = '<%=@release%>'
  <% end %>
  
  config_opts['yum.conf'] = """
  
  
negative.code: syslog_ident=mock
  syslog_device=
  
  <% if @dist == "el" and @release == "4" -%>
  # repos
  [groups-<%=@dist%>-<%=@release%>-<%=@arch%>]
  name=groups-<%=@dist%>-<%=@release%>-<%=@arch%>
  