# This file was generated by Chef # Do NOT modify this file by hand. [<%= @config.repositoryid %>] name=<%= @config.description %> <% if @config.baseurl %> baseurl=<%= @config.baseurl %> <% end %> <% if @config.cost %> cost=<%= @config.cost %> <% end %> <% if @config.enabled %> enabled=1 <% else %> enabled=0 <% end %> <% if @config.enablegroups %> enablegroups=1 <% end %> <% if @config.exclude %> exclude=<%= @config.exclude %> <% end %> <% if @config.failovermethod %> failovermethod=<%= @config.failovermethod %> <% end %> <% if @config.fastestmirror_enabled %> fastestmirror_enabled=<%= @config.fastestmirror_enabled %> <% end %> <% if @config.gpgcheck %> gpgcheck=1 <% else %> gpgcheck=0 <% end %> <% if @config.gpgkey %> gpgkey=<%= case @config.gpgkey when Array @config.gpgkey.join("\n ") else @config.gpgkey end %> <% end -%> <% if @config.http_caching %> http_caching=<%= @config.http_caching %> <% end %> <% if @config.include_config %> include=<%= @config.include_config %> <% end %> <% if @config.includepkgs %> includepkgs=<%= @config.includepkgs %> <% end %> <% if @config.keepalive %> keepalive=1 <% end %> <% if @config.metadata_expire %> metadata_expire=<%= @config.metadata_expire %> <% end %> <% if @config.mirrorlist %> mirrorlist=<%= @config.mirrorlist %> <% end %> <% if @config.mirror_expire %> mirror_expire=<%= @config.mirror_expire %> <% end %> <% if @config.mirrorlist_expire %> mirrorlist_expire=<%= @config.mirrorlist_expire %> <% end %> <% if @config.priority %> priority=<%= @config.priority %> <% end %> <% if @config.proxy %> proxy=<%= @config.proxy %> <% end %> <% if @config.proxy_username %> proxy_username=<%= @config.proxy_username %> <% end %> <% if @config.proxy_password %> proxy_password=<%= @config.proxy_password %> <% end %> <% if @config.username %> username=<%= @config.username %> <% end %> <% if @config.password %> password=<%= @config.password %> <% end %> <% if @config.max_retries %> retries=<%= @config.max_retries %> <% end %> <% if @config.report_instanceid %> report_instanceid=<%= @config.report_instanceid %> <% end %> <% if @config.skip_if_unavailable %> skip_if_unavailable=1 <% end %> <% if @config.sslcacert %> sslcacert=<%= @config.sslcacert %> <% end %> <% if @config.sslclientcert %> sslclientcert=<%= @config.sslclientcert %> <% end %> <% if @config.sslclientkey %> sslclientkey=<%= @config.sslclientkey %> <% end %> <% unless @config.sslverify.nil? %> sslverify=<%= @config.sslverify %> <% end %> <% if @config.timeout %> timeout=<%= @config.timeout %> <% end %> <% if @config.options -%> <% @config.options.each do |key, value| -%> <%= key %>=<%= case value when Array value.join("\n ") when TrueClass '1' when FalseClass '0' else value end %> <% end -%> <% end -%>