From ce10eb6ab9c3a5a3e88906a3943ad78d72d73821 Mon Sep 17 00:00:00 2001 From: Jeff McCune Date: Sat, 7 Aug 2010 16:18:31 -0700 Subject: [PATCH] Added mock configuration files Signed-off-by: Jeff McCune --- .../templates/etc/mock/epel-4-i386.cfg | 50 ++++++++++ .../templates/etc/mock/epel-4-ppc.cfg | 49 ++++++++++ .../templates/etc/mock/epel-4-x86_64.cfg | 53 ++++++++++ .../templates/etc/mock/epel-5-i386.cfg | 46 +++++++++ .../templates/etc/mock/epel-5-ppc.cfg | 46 +++++++++ .../templates/etc/mock/epel-5-x86_64.cfg | 48 +++++++++ .../templates/etc/mock/fedora-10-i386.cfg | 37 +++++++ .../templates/etc/mock/fedora-10-ppc.cfg | 39 ++++++++ .../templates/etc/mock/fedora-10-ppc64.cfg | 37 +++++++ .../templates/etc/mock/fedora-10-s390x.cfg | 37 +++++++ .../templates/etc/mock/fedora-10-sparc.cfg | 39 ++++++++ .../templates/etc/mock/fedora-10-sparc64.cfg | 37 +++++++ .../templates/etc/mock/fedora-10-x86_64.cfg | 41 ++++++++ .../templates/etc/mock/fedora-11-i386.cfg | 37 +++++++ .../templates/etc/mock/fedora-11-ppc.cfg | 39 ++++++++ .../templates/etc/mock/fedora-11-ppc64.cfg | 37 +++++++ .../templates/etc/mock/fedora-11-s390x.cfg | 37 +++++++ .../templates/etc/mock/fedora-11-sparc.cfg | 39 ++++++++ .../templates/etc/mock/fedora-11-sparc64.cfg | 37 +++++++ .../templates/etc/mock/fedora-11-x86_64.cfg | 41 ++++++++ .../templates/etc/mock/fedora-12-i386.cfg | 37 +++++++ .../templates/etc/mock/fedora-12-ppc.cfg | 39 ++++++++ .../templates/etc/mock/fedora-12-ppc64.cfg | 37 +++++++ .../templates/etc/mock/fedora-12-s390x.cfg | 37 +++++++ .../templates/etc/mock/fedora-12-sparc.cfg | 39 ++++++++ .../templates/etc/mock/fedora-12-sparc64.cfg | 37 +++++++ .../templates/etc/mock/fedora-12-x86_64.cfg | 41 ++++++++ .../templates/etc/mock/fedora-13-i386.cfg | 37 +++++++ .../templates/etc/mock/fedora-13-ppc.cfg | 39 ++++++++ .../templates/etc/mock/fedora-13-ppc64.cfg | 37 +++++++ .../templates/etc/mock/fedora-13-s390x.cfg | 37 +++++++ .../templates/etc/mock/fedora-13-sparc.cfg | 39 ++++++++ .../templates/etc/mock/fedora-13-sparc64.cfg | 37 +++++++ .../templates/etc/mock/fedora-13-x86_64.cfg | 41 ++++++++ .../templates/etc/mock/fedora-4-i386-epel.cfg | 50 ++++++++++ .../templates/etc/mock/fedora-4-ppc-epel.cfg | 49 ++++++++++ .../etc/mock/fedora-4-x86_64-epel.cfg | 53 ++++++++++ .../templates/etc/mock/fedora-5-i386-epel.cfg | 46 +++++++++ .../templates/etc/mock/fedora-5-ppc-epel.cfg | 46 +++++++++ .../etc/mock/fedora-5-x86_64-epel.cfg | 48 +++++++++ .../templates/etc/mock/fedora-devel-i386.cfg | 29 ++++++ .../templates/etc/mock/fedora-devel-ppc.cfg | 31 ++++++ .../templates/etc/mock/fedora-devel-ppc64.cfg | 29 ++++++ .../etc/mock/fedora-devel-x86_64.cfg | 33 +++++++ .../etc/mock/fedora-rawhide-i386.cfg | 29 ++++++ .../templates/etc/mock/fedora-rawhide-ppc.cfg | 31 ++++++ .../etc/mock/fedora-rawhide-ppc64.cfg | 29 ++++++ .../etc/mock/fedora-rawhide-s390x.cfg | 29 ++++++ .../etc/mock/fedora-rawhide-sparc.cfg | 31 ++++++ .../etc/mock/fedora-rawhide-sparc64.cfg | 29 ++++++ .../etc/mock/fedora-rawhide-x86_64.cfg | 33 +++++++ .../puppetlabs/templates/etc/mock/logging.ini | 84 ++++++++++++++++ .../templates/etc/mock/site-defaults.cfg | 98 +++++++++++++++++++ 53 files changed, 2167 insertions(+) create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/epel-4-i386.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/epel-4-ppc.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/epel-4-x86_64.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/epel-5-i386.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/epel-5-ppc.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/epel-5-x86_64.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-i386.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-ppc.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-ppc64.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-s390x.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-sparc.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-sparc64.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-x86_64.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-i386.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-ppc.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-ppc64.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-s390x.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-sparc.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-sparc64.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-x86_64.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-i386.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-ppc.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-ppc64.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-s390x.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-sparc.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-sparc64.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-x86_64.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-i386.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-ppc.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-ppc64.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-s390x.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-sparc.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-sparc64.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-x86_64.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-4-i386-epel.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-4-ppc-epel.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-4-x86_64-epel.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-5-i386-epel.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-5-ppc-epel.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-5-x86_64-epel.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-devel-i386.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-devel-ppc.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-devel-ppc64.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-devel-x86_64.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-i386.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-ppc.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-ppc64.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-s390x.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-sparc.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-sparc64.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-x86_64.cfg create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/logging.ini create mode 100644 suite/share/modules/puppetlabs/templates/etc/mock/site-defaults.cfg diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/epel-4-i386.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/epel-4-i386.cfg new file mode 100644 index 0000000..a2b8a7c --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/epel-4-i386.cfg @@ -0,0 +1,50 @@ +config_opts['root'] = 'epel-4-i386' +config_opts['target_arch'] = 'i386' +config_opts['chroot_setup_cmd'] = 'install buildsys-build' +config_opts['dist'] = 'el4' # only useful for --resultdir variable subst + +# ccache not available on epel4 +config_opts['plugin_conf']['ccache_enable'] = False + +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 + +# repos + +[core] +name=base +mirrorlist=http://mirrorlist.centos.org/?release=4&arch=i386&repo=os + +[update] +name=updates +mirrorlist=http://mirrorlist.centos.org/?release=4&arch=i386&repo=updates + +[groups] +name=groups +baseurl=http://buildsys.fedoraproject.org/buildgroups/rhel4/i386/ + +[stable] +name=epel +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-4&arch=i386 + +[testing] +name=epel-testing +enabled=0 +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel4&arch=i386 + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-4E-epel-build/latest/i386/ +cost=2000 +enabled=0 + + +""" diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/epel-4-ppc.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/epel-4-ppc.cfg new file mode 100644 index 0000000..88f75b9 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/epel-4-ppc.cfg @@ -0,0 +1,49 @@ +config_opts['root'] = 'epel-4-ppc' +config_opts['target_arch'] = 'ppc' +config_opts['chroot_setup_cmd'] = 'install buildsys-build' +config_opts['dist'] = 'el4' # only useful for --resultdir variable subst + +# ccache not available on epel4 +config_opts['plugin_conf']['ccache_enable'] = False + +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 + +# repos + +[core] +name=base +mirrorlist=http://mirrorlist.centos.org/?release=4&arch=ppc&repo=os + +[update] +name=updates +mirrorlist=http://mirrorlist.centos.org/?release=4&arch=ppc&repo=updates + +[groups] +name=groups +baseurl=http://buildsys.fedoraproject.org/buildgroups/rhel4/ppc/ + +[extras] +name=epel +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-4&arch=ppc + +[testing] +name=epel-testing +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel4&arch=ppc +enabled=0 + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-4E-epel-build/latest/ppc/ +cost=2000 +enabled=0 + +""" diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/epel-4-x86_64.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/epel-4-x86_64.cfg new file mode 100644 index 0000000..354c0da --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/epel-4-x86_64.cfg @@ -0,0 +1,53 @@ +config_opts['root'] = 'epel-4-x86_64' +config_opts['target_arch'] = 'x86_64' +config_opts['chroot_setup_cmd'] = 'install buildsys-build' +config_opts['dist'] = 'el4' # only useful for --resultdir variable subst + +# ccache not available on epel4 +config_opts['plugin_conf']['ccache_enable'] = False +config_opts['plugin_conf']['tmpfs_enable'] = False + +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 +# grub/syslinux on x86_64 need glibc-devel.i386 which pulls in glibc.i386, need to exclude all +# .i?86 packages except these. +exclude=[0-9A-Za-fh-z]*.i?86 g[0-9A-Za-km-z]*.i?86 gl[0-9A-Za-hj-z]*.i?86 gli[0-9A-Zac-z]*.i?86 glib[0-9A-Za-bd-z]*.i?86 + +# repos + +[core] +name=base +mirrorlist=http://mirrorlist.centos.org/?release=4&arch=x86_64&repo=os + +[update] +name=updates +mirrorlist=http://mirrorlist.centos.org/?release=4&arch=x86_64&repo=updates + +[groups] +name=groups +baseurl=http://buildsys.fedoraproject.org/buildgroups/rhel4/x86_64/ + +[extras] +name=epel +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-4&arch=x86_64 + +[testing] +name=epel-testing +enabled=0 +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel4&arch=x86_64 + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-4E-epel-build/latest/x86_64/ +cost=2000 +enabled=0 + +""" diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/epel-5-i386.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/epel-5-i386.cfg new file mode 100644 index 0000000..58551e3 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/epel-5-i386.cfg @@ -0,0 +1,46 @@ +config_opts['root'] = 'epel-5-i386' +config_opts['target_arch'] = 'i386' +config_opts['chroot_setup_cmd'] = 'install buildsys-build' +config_opts['dist'] = 'el5' # only useful for --resultdir variable subst + +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 + +# repos + +[core] +name=base +mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=os + +[update] +name=updates +mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=updates + +[groups] +name=groups +baseurl=http://buildsys.fedoraproject.org/buildgroups/rhel5/i386/ + +[extras] +name=epel +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=i386 + +[testing] +name=epel-testing +enabled=0 +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel5&arch=i386 + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-5E-epel-build/latest/i386/ +cost=2000 +enabled=0 + +""" diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/epel-5-ppc.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/epel-5-ppc.cfg new file mode 100644 index 0000000..5c25011 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/epel-5-ppc.cfg @@ -0,0 +1,46 @@ +config_opts['root'] = 'epel-5-ppc' +config_opts['target_arch'] = 'ppc' +config_opts['chroot_setup_cmd'] = 'install buildsys-build' +config_opts['dist'] = 'el5' # only useful for --resultdir variable subst + +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 + +# repos + +[core] +name=base +mirrorlist=http://mirrorlist.centos.org/?release=5&arch=ppc&repo=os + +[update] +name=updates +mirrorlist=http://mirrorlist.centos.org/?release=5&arch=ppc&repo=updates + +[groups] +name=groups +baseurl=http://buildsys.fedoraproject.org/buildgroups/rhel5/ppc/ + +[extras] +name=epel +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=ppc + +[testing] +name=epel-testing +enabled=0 +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel5&arch=ppc + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-5E-epel-build/latest/ppc/ +cost=2000 +enabled=0 + +""" diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/epel-5-x86_64.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/epel-5-x86_64.cfg new file mode 100644 index 0000000..199fcfe --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/epel-5-x86_64.cfg @@ -0,0 +1,48 @@ +config_opts['root'] = 'epel-5-x86_64' +config_opts['target_arch'] = 'x86_64' +config_opts['chroot_setup_cmd'] = 'install buildsys-build' +config_opts['dist'] = 'el5' # only useful for --resultdir variable subst + +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 +# grub/syslinux on x86_64 need glibc-devel.i386 which pulls in glibc.i386, need to exclude all +# .i?86 packages except these. +exclude=[1-9A-Za-fh-z]*.i?86 g[0-9A-Za-km-z]*.i?86 gl[0-9A-Za-hj-z]*.i?86 gli[0-9A-Zac-z]*.i?86 glib[0-9A-Za-bd-z]*.i?86 +# repos + +[core] +name=base +mirrorlist=http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=os + +[update] +name=updates +mirrorlist=http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=updates + +[groups] +name=groups +baseurl=http://buildsys.fedoraproject.org/buildgroups/rhel5/x86_64/ + +[extras] +name=epel +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=x86_64 + +[testing] +name=epel-testing +enabled=0 +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel5&arch=x86_64 + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-5E-epel-build/latest/x86_64/ +cost=2000 +enabled=0 + +""" diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-i386.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-i386.cfg new file mode 100644 index 0000000..6584275 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-i386.cfg @@ -0,0 +1,37 @@ +config_opts['root'] = 'fedora-10-i386' +config_opts['target_arch'] = 'i386' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc10' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=i386 +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f10&arch=i386 +failovermethod=priority + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-f10-build/latest/i386/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-ppc.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-ppc.cfg new file mode 100644 index 0000000..cee534c --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-ppc.cfg @@ -0,0 +1,39 @@ +config_opts['root'] = 'fedora-10-ppc' +config_opts['target_arch'] = 'ppc' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc10' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 +#exclude=*.ppc64 +# The above is not needed anymore with yum multilib policy of "best" which is the default in Fedora. + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=ppc +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f10&arch=ppc +failovermethod=priority + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-f10-build/latest/ppc/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-ppc64.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-ppc64.cfg new file mode 100644 index 0000000..ca66342 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-ppc64.cfg @@ -0,0 +1,37 @@ +config_opts['root'] = 'fedora-10-ppc64' +config_opts['target_arch'] = 'ppc64' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc10' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=ppc64 +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f10&arch=ppc64 +failovermethod=priority + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-f10-build/latest/ppc64/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-s390x.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-s390x.cfg new file mode 100644 index 0000000..1aa0fda --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-s390x.cfg @@ -0,0 +1,37 @@ +config_opts['root'] = 'fedora-10-s390x' +config_opts['target_arch'] = 's390x' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc10' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=s390x +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f10&arch=s390x +failovermethod=priority + +[local] +name=local +baseurl=http://s390.koji.fedoraproject.org/repos/dist-f10-build/latest/s390x/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-sparc.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-sparc.cfg new file mode 100644 index 0000000..fa335bb --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-sparc.cfg @@ -0,0 +1,39 @@ +config_opts['root'] = 'fedora-10-sparc' +config_opts['target_arch'] = 'sparcv9' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc10' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 +#exclude=*.sparc64 +# The above is not needed anymore with yum multilib policy of "best" which is the default in Fedora. + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=sparc +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f10&arch=sparc +failovermethod=priority + +[local] +name=local +baseurl=http://sparc.koji.fedoraproject.org/repos/dist-f10-build/latest/sparc/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-sparc64.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-sparc64.cfg new file mode 100644 index 0000000..439aeeb --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-sparc64.cfg @@ -0,0 +1,37 @@ +config_opts['root'] = 'fedora-10-sparc64' +config_opts['target_arch'] = 'sparc64' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc10' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=sparc64 +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f10&arch=sparc64 +failovermethod=priority + +[local] +name=local +baseurl=http://sparc.koji.fedoraproject.org/repos/dist-f10-build/latest/sparc64/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-x86_64.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-x86_64.cfg new file mode 100644 index 0000000..a512b47 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-10-x86_64.cfg @@ -0,0 +1,41 @@ +config_opts['root'] = 'fedora-10-x86_64' +config_opts['target_arch'] = 'x86_64' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc10' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 +# grub/syslinux on x86_64 need glibc-devel.i386 which pulls in glibc.i386, need to exclude all +# .i?86 packages except these. +#exclude=[0-9A-Za-fh-z]*.i?86 g[0-9A-Za-km-z]*.i?86 gl[0-9A-Za-hj-z]*.i?86 gli[0-9A-Zac-z]*.i?86 glib[0-9A-Za-bd-z]*.i?86 +# The above is not needed anymore with yum multilib policy of "best" which is the default in Fedora. + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=x86_64 +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f10&arch=x86_64 +failovermethod=priority + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-f10-build/latest/x86_64/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-i386.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-i386.cfg new file mode 100644 index 0000000..6119223 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-i386.cfg @@ -0,0 +1,37 @@ +config_opts['root'] = 'fedora-11-i386' +config_opts['target_arch'] = 'i586' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc11' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-11&arch=i386 +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f11&arch=i386 +failovermethod=priority + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-f11-build/latest/i386/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-ppc.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-ppc.cfg new file mode 100644 index 0000000..30bb120 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-ppc.cfg @@ -0,0 +1,39 @@ +config_opts['root'] = 'fedora-11-ppc' +config_opts['target_arch'] = 'ppc' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc11' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 +#exclude=*.ppc64 +# The above is not needed anymore with yum multilib policy of "best" which is the default in Fedora. + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-11&arch=ppc +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f11&arch=ppc +failovermethod=priority + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-f11-build/latest/ppc/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-ppc64.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-ppc64.cfg new file mode 100644 index 0000000..ef6be3d --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-ppc64.cfg @@ -0,0 +1,37 @@ +config_opts['root'] = 'fedora-11-ppc64' +config_opts['target_arch'] = 'ppc64' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc11' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-11&arch=ppc64 +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f11&arch=ppc64 +failovermethod=priority + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-f11-build/latest/ppc64/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-s390x.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-s390x.cfg new file mode 100644 index 0000000..cc6107d --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-s390x.cfg @@ -0,0 +1,37 @@ +config_opts['root'] = 'fedora-11-s390x' +config_opts['target_arch'] = 's390x' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc11' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-11&arch=s390x +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f11&arch=s390x +failovermethod=priority + +[local] +name=local +baseurl=http://s390.koji.fedoraproject.org/repos/dist-f11-build/latest/s390x/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-sparc.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-sparc.cfg new file mode 100644 index 0000000..bfbba45 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-sparc.cfg @@ -0,0 +1,39 @@ +config_opts['root'] = 'fedora-11-sparc' +config_opts['target_arch'] = 'sparcv9' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc11' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 +#exclude=*.sparc64 +# The above is not needed anymore with yum multilib policy of "best" which is the default in Fedora. + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-11&arch=sparc +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f11&arch=sparc +failovermethod=priority + +[local] +name=local +baseurl=http://sparc.koji.fedoraproject.org/repos/dist-f11-build/latest/sparc/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-sparc64.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-sparc64.cfg new file mode 100644 index 0000000..b1da9c9 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-sparc64.cfg @@ -0,0 +1,37 @@ +config_opts['root'] = 'fedora-11-sparc64' +config_opts['target_arch'] = 'sparc64' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc11' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-11&arch=sparc64 +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f11&arch=sparc64 +failovermethod=priority + +[local] +name=local +baseurl=http://sparc.koji.fedoraproject.org/repos/dist-f11-build/latest/sparc64/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-x86_64.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-x86_64.cfg new file mode 100644 index 0000000..787cc38 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-11-x86_64.cfg @@ -0,0 +1,41 @@ +config_opts['root'] = 'fedora-11-x86_64' +config_opts['target_arch'] = 'x86_64' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc11' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 +# grub/syslinux on x86_64 need glibc-devel.i386 which pulls in glibc.i386, need to exclude all +# .i?86 packages except these. +#exclude=[0-9A-Za-fh-z]*.i?86 g[0-9A-Za-km-z]*.i?86 gl[0-9A-Za-hj-z]*.i?86 gli[0-9A-Zac-z]*.i?86 glib[0-9A-Za-bd-z]*.i?86 +# The above is not needed anymore with yum multilib policy of "best" which is the default in Fedora. + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-11&arch=x86_64 +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f11&arch=x86_64 +failovermethod=priority + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-f11-build/latest/x86_64/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-i386.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-i386.cfg new file mode 100644 index 0000000..7c1bf91 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-i386.cfg @@ -0,0 +1,37 @@ +config_opts['root'] = 'fedora-12-i386' +config_opts['target_arch'] = 'i686' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc12' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-12&arch=i386 +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f12&arch=i386 +failovermethod=priority + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-f12-build/latest/i386/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-ppc.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-ppc.cfg new file mode 100644 index 0000000..0146737 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-ppc.cfg @@ -0,0 +1,39 @@ +config_opts['root'] = 'fedora-12-ppc' +config_opts['target_arch'] = 'ppc' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc12' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 +#exclude=*.ppc64 +# The above is not needed anymore with yum multilib policy of "best" which is the default in Fedora. + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-12&arch=ppc +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f12&arch=ppc +failovermethod=priority + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-f12-build/latest/ppc/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-ppc64.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-ppc64.cfg new file mode 100644 index 0000000..32a9c2a --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-ppc64.cfg @@ -0,0 +1,37 @@ +config_opts['root'] = 'fedora-12-ppc64' +config_opts['target_arch'] = 'ppc64' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc12' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-12&arch=ppc64 +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f12&arch=ppc64 +failovermethod=priority + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-f12-build/latest/ppc64/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-s390x.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-s390x.cfg new file mode 100644 index 0000000..23734ac --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-s390x.cfg @@ -0,0 +1,37 @@ +config_opts['root'] = 'fedora-12-s390x' +config_opts['target_arch'] = 's390x' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc12' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-12&arch=s390x +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f12&arch=s390x +failovermethod=priority + +[local] +name=local +baseurl=http://s390.koji.fedoraproject.org/repos/dist-f12-build/latest/s390x/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-sparc.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-sparc.cfg new file mode 100644 index 0000000..93eeb33 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-sparc.cfg @@ -0,0 +1,39 @@ +config_opts['root'] = 'fedora-12-sparc' +config_opts['target_arch'] = 'sparcv9' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc12' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 +#exclude=*.sparc64 +# The above is not needed anymore with yum multilib policy of "best" which is the default in Fedora. + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-12&arch=sparc +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f12&arch=sparc +failovermethod=priority + +[local] +name=local +baseurl=http://sparc.koji.fedoraproject.org/repos/dist-f12-build/latest/sparc/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-sparc64.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-sparc64.cfg new file mode 100644 index 0000000..652621a --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-sparc64.cfg @@ -0,0 +1,37 @@ +config_opts['root'] = 'fedora-12-sparc64' +config_opts['target_arch'] = 'sparc64' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc12' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-12&arch=sparc64 +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f12&arch=sparc64 +failovermethod=priority + +[local] +name=local +baseurl=http://sparc.koji.fedoraproject.org/repos/dist-f12-build/latest/sparc64/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-x86_64.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-x86_64.cfg new file mode 100644 index 0000000..f209e08 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-12-x86_64.cfg @@ -0,0 +1,41 @@ +config_opts['root'] = 'fedora-12-x86_64' +config_opts['target_arch'] = 'x86_64' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc12' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 +# grub/syslinux on x86_64 need glibc-devel.i386 which pulls in glibc.i386, need to exclude all +# .i?86 packages except these. +#exclude=[0-9A-Za-fh-z]*.i?86 g[0-9A-Za-km-z]*.i?86 gl[0-9A-Za-hj-z]*.i?86 gli[0-9A-Zac-z]*.i?86 glib[0-9A-Za-bd-z]*.i?86 +# The above is not needed anymore with yum multilib policy of "best" which is the default in Fedora. + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-12&arch=x86_64 +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f12&arch=x86_64 +failovermethod=priority + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-f12-build/latest/x86_64/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-i386.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-i386.cfg new file mode 100644 index 0000000..3a6b8c6 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-i386.cfg @@ -0,0 +1,37 @@ +config_opts['root'] = 'fedora-13-i386' +config_opts['target_arch'] = 'i686' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc13' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-13&arch=i386 +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f13&arch=i386 +failovermethod=priority + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-f13-build/latest/i386/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-ppc.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-ppc.cfg new file mode 100644 index 0000000..fd61671 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-ppc.cfg @@ -0,0 +1,39 @@ +config_opts['root'] = 'fedora-13-ppc' +config_opts['target_arch'] = 'ppc' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc13' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 +#exclude=*.ppc64 +# The above is not needed anymore with yum multilib policy of "best" which is the default in Fedora. + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-13&arch=ppc +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f13&arch=ppc +failovermethod=priority + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-f13-build/latest/ppc/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-ppc64.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-ppc64.cfg new file mode 100644 index 0000000..f728d91 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-ppc64.cfg @@ -0,0 +1,37 @@ +config_opts['root'] = 'fedora-13-ppc64' +config_opts['target_arch'] = 'ppc64' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc13' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-13&arch=ppc64 +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f13&arch=ppc64 +failovermethod=priority + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-f13-build/latest/ppc64/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-s390x.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-s390x.cfg new file mode 100644 index 0000000..df936f2 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-s390x.cfg @@ -0,0 +1,37 @@ +config_opts['root'] = 'fedora-13-s390x' +config_opts['target_arch'] = 's390x' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc13' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-13&arch=s390x +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f13&arch=s390x +failovermethod=priority + +[local] +name=local +baseurl=http://s390.koji.fedoraproject.org/repos/dist-f13-build/latest/s390x/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-sparc.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-sparc.cfg new file mode 100644 index 0000000..f0a76d2 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-sparc.cfg @@ -0,0 +1,39 @@ +config_opts['root'] = 'fedora-13-sparc' +config_opts['target_arch'] = 'sparcv9' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc13' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 +#exclude=*.sparc64 +# The above is not needed anymore with yum multilib policy of "best" which is the default in Fedora. + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-13&arch=sparc +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f13&arch=sparc +failovermethod=priority + +[local] +name=local +baseurl=http://sparc.koji.fedoraproject.org/repos/dist-f13-build/latest/sparc/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-sparc64.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-sparc64.cfg new file mode 100644 index 0000000..05e80d6 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-sparc64.cfg @@ -0,0 +1,37 @@ +config_opts['root'] = 'fedora-13-sparc64' +config_opts['target_arch'] = 'sparc64' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc13' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-13&arch=sparc64 +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f13&arch=sparc64 +failovermethod=priority + +[local] +name=local +baseurl=http://sparc.koji.fedoraproject.org/repos/dist-f13-build/latest/sparc64/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-x86_64.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-x86_64.cfg new file mode 100644 index 0000000..140b2b6 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-13-x86_64.cfg @@ -0,0 +1,41 @@ +config_opts['root'] = 'fedora-13-x86_64' +config_opts['target_arch'] = 'x86_64' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc13' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 +# grub/syslinux on x86_64 need glibc-devel.i386 which pulls in glibc.i386, need to exclude all +# .i?86 packages except these. +#exclude=[0-9A-Za-fh-z]*.i?86 g[0-9A-Za-km-z]*.i?86 gl[0-9A-Za-hj-z]*.i?86 gli[0-9A-Zac-z]*.i?86 glib[0-9A-Za-bd-z]*.i?86 +# The above is not needed anymore with yum multilib policy of "best" which is the default in Fedora. + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-13&arch=x86_64 +failovermethod=priority + +[updates-released] +name=updates +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f13&arch=x86_64 +failovermethod=priority + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-f13-build/latest/x86_64/ +cost=2000 +enabled=0 +""" + + + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-4-i386-epel.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-4-i386-epel.cfg new file mode 100644 index 0000000..a2b8a7c --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-4-i386-epel.cfg @@ -0,0 +1,50 @@ +config_opts['root'] = 'epel-4-i386' +config_opts['target_arch'] = 'i386' +config_opts['chroot_setup_cmd'] = 'install buildsys-build' +config_opts['dist'] = 'el4' # only useful for --resultdir variable subst + +# ccache not available on epel4 +config_opts['plugin_conf']['ccache_enable'] = False + +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 + +# repos + +[core] +name=base +mirrorlist=http://mirrorlist.centos.org/?release=4&arch=i386&repo=os + +[update] +name=updates +mirrorlist=http://mirrorlist.centos.org/?release=4&arch=i386&repo=updates + +[groups] +name=groups +baseurl=http://buildsys.fedoraproject.org/buildgroups/rhel4/i386/ + +[stable] +name=epel +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-4&arch=i386 + +[testing] +name=epel-testing +enabled=0 +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel4&arch=i386 + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-4E-epel-build/latest/i386/ +cost=2000 +enabled=0 + + +""" diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-4-ppc-epel.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-4-ppc-epel.cfg new file mode 100644 index 0000000..88f75b9 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-4-ppc-epel.cfg @@ -0,0 +1,49 @@ +config_opts['root'] = 'epel-4-ppc' +config_opts['target_arch'] = 'ppc' +config_opts['chroot_setup_cmd'] = 'install buildsys-build' +config_opts['dist'] = 'el4' # only useful for --resultdir variable subst + +# ccache not available on epel4 +config_opts['plugin_conf']['ccache_enable'] = False + +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 + +# repos + +[core] +name=base +mirrorlist=http://mirrorlist.centos.org/?release=4&arch=ppc&repo=os + +[update] +name=updates +mirrorlist=http://mirrorlist.centos.org/?release=4&arch=ppc&repo=updates + +[groups] +name=groups +baseurl=http://buildsys.fedoraproject.org/buildgroups/rhel4/ppc/ + +[extras] +name=epel +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-4&arch=ppc + +[testing] +name=epel-testing +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel4&arch=ppc +enabled=0 + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-4E-epel-build/latest/ppc/ +cost=2000 +enabled=0 + +""" diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-4-x86_64-epel.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-4-x86_64-epel.cfg new file mode 100644 index 0000000..354c0da --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-4-x86_64-epel.cfg @@ -0,0 +1,53 @@ +config_opts['root'] = 'epel-4-x86_64' +config_opts['target_arch'] = 'x86_64' +config_opts['chroot_setup_cmd'] = 'install buildsys-build' +config_opts['dist'] = 'el4' # only useful for --resultdir variable subst + +# ccache not available on epel4 +config_opts['plugin_conf']['ccache_enable'] = False +config_opts['plugin_conf']['tmpfs_enable'] = False + +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 +# grub/syslinux on x86_64 need glibc-devel.i386 which pulls in glibc.i386, need to exclude all +# .i?86 packages except these. +exclude=[0-9A-Za-fh-z]*.i?86 g[0-9A-Za-km-z]*.i?86 gl[0-9A-Za-hj-z]*.i?86 gli[0-9A-Zac-z]*.i?86 glib[0-9A-Za-bd-z]*.i?86 + +# repos + +[core] +name=base +mirrorlist=http://mirrorlist.centos.org/?release=4&arch=x86_64&repo=os + +[update] +name=updates +mirrorlist=http://mirrorlist.centos.org/?release=4&arch=x86_64&repo=updates + +[groups] +name=groups +baseurl=http://buildsys.fedoraproject.org/buildgroups/rhel4/x86_64/ + +[extras] +name=epel +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-4&arch=x86_64 + +[testing] +name=epel-testing +enabled=0 +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel4&arch=x86_64 + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-4E-epel-build/latest/x86_64/ +cost=2000 +enabled=0 + +""" diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-5-i386-epel.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-5-i386-epel.cfg new file mode 100644 index 0000000..58551e3 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-5-i386-epel.cfg @@ -0,0 +1,46 @@ +config_opts['root'] = 'epel-5-i386' +config_opts['target_arch'] = 'i386' +config_opts['chroot_setup_cmd'] = 'install buildsys-build' +config_opts['dist'] = 'el5' # only useful for --resultdir variable subst + +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 + +# repos + +[core] +name=base +mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=os + +[update] +name=updates +mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=updates + +[groups] +name=groups +baseurl=http://buildsys.fedoraproject.org/buildgroups/rhel5/i386/ + +[extras] +name=epel +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=i386 + +[testing] +name=epel-testing +enabled=0 +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel5&arch=i386 + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-5E-epel-build/latest/i386/ +cost=2000 +enabled=0 + +""" diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-5-ppc-epel.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-5-ppc-epel.cfg new file mode 100644 index 0000000..5c25011 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-5-ppc-epel.cfg @@ -0,0 +1,46 @@ +config_opts['root'] = 'epel-5-ppc' +config_opts['target_arch'] = 'ppc' +config_opts['chroot_setup_cmd'] = 'install buildsys-build' +config_opts['dist'] = 'el5' # only useful for --resultdir variable subst + +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 + +# repos + +[core] +name=base +mirrorlist=http://mirrorlist.centos.org/?release=5&arch=ppc&repo=os + +[update] +name=updates +mirrorlist=http://mirrorlist.centos.org/?release=5&arch=ppc&repo=updates + +[groups] +name=groups +baseurl=http://buildsys.fedoraproject.org/buildgroups/rhel5/ppc/ + +[extras] +name=epel +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=ppc + +[testing] +name=epel-testing +enabled=0 +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel5&arch=ppc + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-5E-epel-build/latest/ppc/ +cost=2000 +enabled=0 + +""" diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-5-x86_64-epel.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-5-x86_64-epel.cfg new file mode 100644 index 0000000..199fcfe --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-5-x86_64-epel.cfg @@ -0,0 +1,48 @@ +config_opts['root'] = 'epel-5-x86_64' +config_opts['target_arch'] = 'x86_64' +config_opts['chroot_setup_cmd'] = 'install buildsys-build' +config_opts['dist'] = 'el5' # only useful for --resultdir variable subst + +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 +# grub/syslinux on x86_64 need glibc-devel.i386 which pulls in glibc.i386, need to exclude all +# .i?86 packages except these. +exclude=[1-9A-Za-fh-z]*.i?86 g[0-9A-Za-km-z]*.i?86 gl[0-9A-Za-hj-z]*.i?86 gli[0-9A-Zac-z]*.i?86 glib[0-9A-Za-bd-z]*.i?86 +# repos + +[core] +name=base +mirrorlist=http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=os + +[update] +name=updates +mirrorlist=http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=updates + +[groups] +name=groups +baseurl=http://buildsys.fedoraproject.org/buildgroups/rhel5/x86_64/ + +[extras] +name=epel +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=x86_64 + +[testing] +name=epel-testing +enabled=0 +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel5&arch=x86_64 + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-5E-epel-build/latest/x86_64/ +cost=2000 +enabled=0 + +""" diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-devel-i386.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-devel-i386.cfg new file mode 100644 index 0000000..e42980e --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-devel-i386.cfg @@ -0,0 +1,29 @@ +config_opts['root'] = 'fedora-rawhide-i386' +config_opts['target_arch'] = 'i686' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc13' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=i386 +failovermethod=priority + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-rawhide/latest/i386 +cost=2000 +enabled=0 +""" diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-devel-ppc.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-devel-ppc.cfg new file mode 100644 index 0000000..4fd9f98 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-devel-ppc.cfg @@ -0,0 +1,31 @@ +config_opts['root'] = 'fedora-rawhide-ppc' +config_opts['target_arch'] = 'ppc' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc13' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 +#exclude=*.ppc64 +# The above is not needed anymore with yum multilib policy of "best" which is the default in Fedora. + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=ppc +failovermethod=priority + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-rawhide/latest/ppc/ +cost=2000 +enabled=0 +""" diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-devel-ppc64.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-devel-ppc64.cfg new file mode 100644 index 0000000..c7a4edf --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-devel-ppc64.cfg @@ -0,0 +1,29 @@ +config_opts['root'] = 'fedora-rawhide-ppc64' +config_opts['target_arch'] = 'ppc64' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc13' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=ppc64 +failovermethod=priority + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-rawhide/latest/ppc64/ +cost=2000 +enabled=0 +""" diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-devel-x86_64.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-devel-x86_64.cfg new file mode 100644 index 0000000..a69350d --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-devel-x86_64.cfg @@ -0,0 +1,33 @@ +config_opts['root'] = 'fedora-rawhide-x86_64' +config_opts['target_arch'] = 'x86_64' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc13' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 +# grub/syslinux on x86_64 need glibc-devel.i386 which pulls in glibc.i386, need to exclude all +# .i?86 packages except these. +#exclude=[0-9A-Za-fh-z]*.i?86 g[0-9A-Za-km-z]*.i?86 gl[0-9A-Za-hj-z]*.i?86 gli[0-9A-Zac-z]*.i?86 glib[0-9A-Za-bd-z]*.i?86 +# The above is not needed anymore with yum multilib policy of "best" which is the default in Fedora. + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=x86_64 +failovermethod=priority + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-rawhide/latest/x86_64/ +cost=2000 +enabled=0 +""" diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-i386.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-i386.cfg new file mode 100644 index 0000000..e42980e --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-i386.cfg @@ -0,0 +1,29 @@ +config_opts['root'] = 'fedora-rawhide-i386' +config_opts['target_arch'] = 'i686' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc13' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=i386 +failovermethod=priority + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-rawhide/latest/i386 +cost=2000 +enabled=0 +""" diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-ppc.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-ppc.cfg new file mode 100644 index 0000000..4fd9f98 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-ppc.cfg @@ -0,0 +1,31 @@ +config_opts['root'] = 'fedora-rawhide-ppc' +config_opts['target_arch'] = 'ppc' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc13' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 +#exclude=*.ppc64 +# The above is not needed anymore with yum multilib policy of "best" which is the default in Fedora. + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=ppc +failovermethod=priority + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-rawhide/latest/ppc/ +cost=2000 +enabled=0 +""" diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-ppc64.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-ppc64.cfg new file mode 100644 index 0000000..c7a4edf --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-ppc64.cfg @@ -0,0 +1,29 @@ +config_opts['root'] = 'fedora-rawhide-ppc64' +config_opts['target_arch'] = 'ppc64' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc13' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=ppc64 +failovermethod=priority + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-rawhide/latest/ppc64/ +cost=2000 +enabled=0 +""" diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-s390x.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-s390x.cfg new file mode 100644 index 0000000..861d2b4 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-s390x.cfg @@ -0,0 +1,29 @@ +config_opts['root'] = 'fedora-rawhide-s390x' +config_opts['target_arch'] = 's390x' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc13' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=s390x +failovermethod=priority + +[local] +name=local +baseurl=http://s390.koji.fedoraproject.org/repos/dist-rawhide/latest/s390x/ +cost=2000 +enabled=0 +""" diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-sparc.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-sparc.cfg new file mode 100644 index 0000000..1521bb3 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-sparc.cfg @@ -0,0 +1,31 @@ +config_opts['root'] = 'fedora-rawhide-sparc' +config_opts['target_arch'] = 'sparcv9' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc13' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 +#exclude=*.sparc64 +# The above is not needed anymore with yum multilib policy of "best" which is the default in Fedora. + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=sparc +failovermethod=priority + +[local] +name=local +baseurl=http://sparc.koji.fedoraproject.org/repos/dist-rawhide/latest/sparc/ +cost=2000 +enabled=0 +""" diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-sparc64.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-sparc64.cfg new file mode 100644 index 0000000..0c30a37 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-sparc64.cfg @@ -0,0 +1,29 @@ +config_opts['root'] = 'fedora-rawhide-sparc64' +config_opts['target_arch'] = 'sparc64' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc13' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=sparc64 +failovermethod=priority + +[local] +name=local +baseurl=http://sparc.koji.fedoraproject.org/repos/dist-rawhide/latest/sparc64/ +cost=2000 +enabled=0 +""" diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-x86_64.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-x86_64.cfg new file mode 100644 index 0000000..a69350d --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/fedora-rawhide-x86_64.cfg @@ -0,0 +1,33 @@ +config_opts['root'] = 'fedora-rawhide-x86_64' +config_opts['target_arch'] = 'x86_64' +config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' +config_opts['dist'] = 'fc13' # only useful for --resultdir variable subst + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 +# grub/syslinux on x86_64 need glibc-devel.i386 which pulls in glibc.i386, need to exclude all +# .i?86 packages except these. +#exclude=[0-9A-Za-fh-z]*.i?86 g[0-9A-Za-km-z]*.i?86 gl[0-9A-Za-hj-z]*.i?86 gli[0-9A-Zac-z]*.i?86 glib[0-9A-Za-bd-z]*.i?86 +# The above is not needed anymore with yum multilib policy of "best" which is the default in Fedora. + +# repos + +[fedora] +name=fedora +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=x86_64 +failovermethod=priority + +[local] +name=local +baseurl=http://kojipkgs.fedoraproject.org/repos/dist-rawhide/latest/x86_64/ +cost=2000 +enabled=0 +""" diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/logging.ini b/suite/share/modules/puppetlabs/templates/etc/mock/logging.ini new file mode 100644 index 0000000..fadc6a8 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/logging.ini @@ -0,0 +1,84 @@ +[formatters] +keys: detailed,simple,unadorned,state + +[handlers] +keys: simple_console,detailed_console,unadorned_console,simple_console_warnings_only + +[loggers] +keys: root,build,state,mock + +[formatter_state] +format: %(asctime)s - %(message)s + +[formatter_unadorned] +format: %(message)s + +[formatter_simple] +format: %(levelname)s: %(message)s + +;useful for debugging: +[formatter_detailed] +format: %(levelname)s %(filename)s:%(lineno)d: %(message)s + +[handler_unadorned_console] +class: StreamHandler +args: [] +formatter: unadorned +level: INFO + +[handler_simple_console] +class: StreamHandler +args: [] +formatter: simple +level: INFO + +[handler_simple_console_warnings_only] +class: StreamHandler +args: [] +formatter: simple +level: WARNING + +[handler_detailed_console] +class: StreamHandler +args: [] +formatter: detailed +level: WARNING + +; usually dont want to set a level for loggers +; this way all handlers get all messages, and messages can be filtered +; at the handler level +; +; all these loggers default to a console output handler +; +[logger_root] +level: NOTSET +handlers: simple_console + +; mock logger normally has no output +; catches stuff like mock.trace_decorator and mock.util +; dont normally want to propagate to root logger, either +[logger_mock] +level: NOTSET +handlers: +qualname: mock +propagate: 1 + +[logger_state] +level: NOTSET +; unadorned_console only outputs INFO or above +handlers: unadorned_console +qualname: mock.Root.state +propagate: 0 + +[logger_build] +level: NOTSET +handlers: simple_console_warnings_only +qualname: mock.Root.build +propagate: 0 + +; the following is a list mock logger qualnames used within the code: +; +; qualname: mock.util +; qualname: mock.uid +; qualname: mock.trace_decorator + diff --git a/suite/share/modules/puppetlabs/templates/etc/mock/site-defaults.cfg b/suite/share/modules/puppetlabs/templates/etc/mock/site-defaults.cfg new file mode 100644 index 0000000..0ee2082 --- /dev/null +++ b/suite/share/modules/puppetlabs/templates/etc/mock/site-defaults.cfg @@ -0,0 +1,98 @@ +# mock defaults +# vim:tw=0:ts=4:sw=4:et: +# +# This config file is for site-specific default values that apply across all +# configurations. Options specified in this config file can be overridden in +# the individual mock config files. +# +# The defaults.cfg delivered by default has NO options set. Only set options +# here if you want to override the defaults. +# +# Entries in this file follow the same format as other mock config files. +# config_opts['foo'] = bar + +############################################################################# +# +# Things that we recommend you set in defaults.cfg: +# +# config_opts['basedir'] = '/var/lib/mock/' +# config_opts['cache_topdir'] = '/var/cache/mock' +# Note: the path pointed to by basedir and cache_topdir must be owned +# by group 'mock' and must have mode: g+rws +# config_opts['rpmbuild_timeout'] = 0 +# config_opts['use_host_resolv'] = True + +# You can configure log format to pull from logging.ini formats of these names: +# config_opts['build_log_fmt_name'] = "unadorned" +# config_opts['root_log_fmt_name'] = "detailed" +# config_opts['state_log_fmt_name'] = "state" +# +# mock will normally set up a minimal chroot /dev. +# If you want to use a pre-configured /dev, disable this and use the bind-mount +# plugin to mount your special /dev +# config_opts['internal_dev_setup'] = True +# +# internal_setarch defaults to 'True' if the python 'ctypes' package is +# available. It is in the python std lib on >= python 2.5. On older versions, +# it is available as an addon. On systems w/o ctypes, it will default to +# 'False' +# config_opts['internal_setarch'] = False +# +# the cleanup_on_* options allow you to automatically clean and remove the +# mock build directory, but only take effect if --resultdir is used. +# config_opts provides fine-grained control. cmdline only has big hammer +# +# config_opts['cleanup_on_success'] = 1 +# config_opts['cleanup_on_failure'] = 1 + +############################################################################# +# +# plugin related. Below are the defaults. Change to suit your site +# policy. defaults.cfg is a good place to do this. +# +# NOTE: Some of the caching options can theoretically affect build +# reproducability. Change with care. +# +# config_opts['plugin_conf']['ccache_enable'] = True +# config_opts['plugin_conf']['ccache_opts']['max_cache_size'] = '4G' +# config_opts['plugin_conf']['ccache_opts']['dir'] = "%(cache_topdir)s/%(root)s/ccache/" +# config_opts['plugin_conf']['yum_cache_enable'] = True +# config_opts['plugin_conf']['yum_cache_opts']['max_age_days'] = 30 +# config_opts['plugin_conf']['yum_cache_opts']['dir'] = "%(cache_topdir)s/%(root)s/yum_cache/" +# config_opts['plugin_conf']['root_cache_enable'] = True +# config_opts['plugin_conf']['root_cache_opts']['max_age_days'] = 15 +# config_opts['plugin_conf']['root_cache_opts']['dir'] = "%(cache_topdir)s/%(root)s/root_cache/" +# config_opts['plugin_conf']['root_cache_opts']['compress_program'] = "gzip" +# config_opts['plugin_conf']['root_cache_opts']['extension'] = ".gz" +# +# bind mount plugin is enabled by default but has no configured directories to mount +# config_opts['plugin_conf']['bind_mount_enable'] = True +# config_opts['plugin_conf']['bind_mount_opts']['dirs'].append(('/host/path', '/bind/mount/path/in/chroot/' )) +# +# config_opts['plugin_conf']['tmpfs_enable'] = False +# config_opts['plugin_conf']['tmpfs_opts'] = {'required_ram_mb': 1024} + +############################################################################# +# +# Things that you can change, but we dont recommend it: +# config_opts['chroothome'] = '/builddir' +# config_opts['clean'] = True + +############################################################################# +# +# Things that are best suited for individual chroot config files: +# +# MUST SET (in individual chroot cfg file): +# config_opts['root'] = 'name-of-yum-build-dir' +# config_opts['target_arch'] = 'i386' +# config_opts['yum.conf'] = '' +# +# CAN SET, defaults usually work ok: +# config_opts['chroot_setup_cmd'] = 'install buildsys-build' +# config_opts['log_config_file'] = 'logging.ini' +# config_opts['more_buildreqs']['srpm_name-version-release'] = 'dependencies' +# config_opts['macros']['Add_your_macro_name_here'] = "add macro value here" +# config_opts['files']['path/name/no/leading/slash'] = "put file contents here." +# config_opts['chrootuid'] = os.getuid() +# config_opts['chrootgid'] = grp.getgrnam("mock")[2] +# config_opts['useradd'] = '/usr/sbin/useradd -m -u %(uid)s -g %(gid)s -d %(home)s -n %(user)s' # Fedora/RedHat