Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Commit

Permalink
(maint) Restrict enabled product/dependency repos
Browse files Browse the repository at this point in the history
In more recently added platforms, we are no longer providing product or
dependency repos on yum.puppetlabs.com. For any platforms that have
references to these repos where they do not exist, yum will fail when it
cannot access the repo data.
  • Loading branch information
melissa committed Jul 27, 2016
1 parent 7aa7294 commit 25151b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/mock-config.erb
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ mirrorlist=<%=mirrorlist_updates%>
failovermethod=priority
<% end %>
<% if @dist == "el" && @release <= 7 %>
# Puppetlabs Products
[puppetlabs-products-<%=@dist%>-<%=@release%>-<%=@arch%>]
name=yum.puppetlabs-products-<%=@dist%>-<%=@release%>-<%=@arch%>
Expand All @@ -116,6 +117,7 @@ enabled=1
name=yum.puppetlabs-dependencies-<%=@dist%>-<%=@release%>-<%=@arch%>
baseurl=http://yum.puppetlabs.com/<%=@dist%>/<%=prefix%><%=@release%>/dependencies/<%=@arch%>/
enabled=1
<% end %>
<% if @dist.downcase == "el" %>
[epel-<%=@dist%>-<%=@release%>-<%=@arch%>]
Expand Down

0 comments on commit 25151b1

Please sign in to comment.