This repository has been archived by the owner on Jun 5, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(RE-812) Update mock template with temporary band-aid
Since RHEL7 isn't really a released, baked, finished thing yet, we have to reference the beta. This has a few caveats: - x86_64 only - None of the existing mock templates quite work For the time being, support is being provided via a 'bandaid', which simply declares a file resource for the mock config if a RHEL7 host is to be built. This scaffold/band-aid/kludge will be rolled back/removed/killed with fire when RHEL7 gets its wish and the Blue Fairy makes it a real release.
- Loading branch information
Showing
2 changed files
with
70 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# ********************************** | ||
# Puppet Labs mock configuration | ||
# pl-el-7-x86_64 | ||
# Managed by Puppet | ||
# ********************************** | ||
|
||
config_opts['root'] = 'pl-el-7-x86_64' | ||
config_opts['target_arch'] = 'x86_64' | ||
config_opts['legal_host_arches'] = ('x86_64',) | ||
config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' | ||
config_opts['dist'] = '7' # only useful for --resultdir variable subst | ||
config_opts['macros']['%_host_vendor'] = 'Puppet User' | ||
config_opts['macros']['%rhel'] = '7' | ||
|
||
config_opts['yum.conf'] = """ | ||
[main] | ||
cachedir=/var/cache/yum | ||
debuglevel=1 | ||
logfile=/var/log/yum.log | ||
reposdir=/dev/null | ||
retries=20 | ||
obsoletes=1 | ||
gpgcheck=0 | ||
assumeyes=1 | ||
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/ | ||
|
||
[epel-el-7-x86_64] | ||
name=epel-el-7-x86_64 | ||
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-7&arch=x86_64 | ||
failovermethod=priority | ||
includepkgs=ccache | ||
""" |