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

Commit

Permalink
(RE-1648) Update EL 7 Mock Configs for RHEL 7 RC
Browse files Browse the repository at this point in the history
This update reflects the changes to repo structure in the RHEL7
release cadidate that came out in 4/14. We're still using the
EL7 bandaid structure since the final repo paths aren't formalized
yet. This will be updated when the final paths are determined
(be they CentOS or RHEL 7).
  • Loading branch information
mckern committed May 1, 2014
1 parent 5682b70 commit c14d7d5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion manifests/mock/pl_mocks.pp
Expand Up @@ -6,7 +6,7 @@
) {

# This is absolutely a bandaid; it's just here to stub
# out support for EL7, using the beta release. When EL7
# out support for EL7, using the RC released in 4/14. When EL7
# is a fully baked thing then this will reverted/updated
# to be 87% less hacky. For now we're also only using
# x86_64 as an arch, because EL7 beta is only x64_64.
Expand Down
10 changes: 7 additions & 3 deletions templates/el7-bandaid.erb
Expand Up @@ -27,9 +27,13 @@ syslog_ident=mock
syslog_device=
proxy=http://modi.puppetlabs.lan:3128

[beta]
name=beta
baseurl=http://ftp.redhat.com/redhat/rhel/beta/7/x86_64/os/
[os]
name=os
baseurl=http://ftp.redhat.com/redhat/rhel/rc/7/Server/x86_64/os/

[optional]
name=optional
baseurl=http://ftp.redhat.com/redhat/rhel/rc/7/Server-optional/x86_64/os/

[puppetlabs-products]
name=Puppet Labs Products El 7
Expand Down
8 changes: 6 additions & 2 deletions templates/pe-el7-bandaid.erb
Expand Up @@ -32,10 +32,14 @@ syslog_device=
proxy=http://proxy.puppetlabs.lan:3128/

# repos
[beta-<%=@dist%>-<%=@release%>-<%=@arch%>]
[os-<%=@dist%>-<%=@release%>-<%=@arch%>]
name=centos<%=@release%>-<%=@arch%>-os
enabled=1
baseurl=http://yo.puppetlabs.lan/rhel-7-beta-x86_64/
baseurl=http://osmirror.delivery.puppetlabs.net/rhel<%=@release%>rcserver-<%=@arch%>/RPMS.os/

[optional-<%=@dist%>-<%=@release%>-<%=@arch%>]
name=optional
baseurl=http://osmirror.delivery.puppetlabs.net/rhel<%=@release%>rcserver-<%=@arch%>/RPMS.optional/

[pe-<%=@dist%>-<%=@release%>-<%=@arch%>]
name=pe-<%=@dist%>-<%=@release%>-<%=@arch%>
Expand Down

0 comments on commit c14d7d5

Please sign in to comment.