summaryrefslogtreecommitdiffstats
path: root/roles/copr/backend/files/provision
diff options
context:
space:
mode:
authorMikolaj Izdebski <mizdebsk@redhat.com>2016-10-04 08:12:38 +0200
committerMikolaj Izdebski <mizdebsk@redhat.com>2016-10-04 06:39:24 +0000
commitb0156109a779cae95eee9654b8814fae3b69c39a (patch)
treee01f5b6d6da0a827a5725be44bef14d0f3605bf4 /roles/copr/backend/files/provision
parent0b448ab15cd5d1a08247305fdb785da8abe65a89 (diff)
downloadansible-b0156109a779cae95eee9654b8814fae3b69c39a.tar.gz
ansible-b0156109a779cae95eee9654b8814fae3b69c39a.tar.xz
ansible-b0156109a779cae95eee9654b8814fae3b69c39a.zip
Copr mock configs should use yum.conf, not dnf.conf
mockchain always appends extra repositories to yum.conf, even if dnf is set as package manager. When both dnf.conf and yum.conf are present, dnf uses only the first one and doesn't use repos added by mockchain.
Diffstat (limited to 'roles/copr/backend/files/provision')
-rw-r--r--roles/copr/backend/files/provision/files/mock/custom-1-i386.cfg2
-rw-r--r--roles/copr/backend/files/provision/files/mock/custom-1-ppc64le.cfg2
-rw-r--r--roles/copr/backend/files/provision/files/mock/custom-1-x86_64.cfg2
3 files changed, 3 insertions, 3 deletions
diff --git a/roles/copr/backend/files/provision/files/mock/custom-1-i386.cfg b/roles/copr/backend/files/provision/files/mock/custom-1-i386.cfg
index e87c74f05..bccbdc9be 100644
--- a/roles/copr/backend/files/provision/files/mock/custom-1-i386.cfg
+++ b/roles/copr/backend/files/provision/files/mock/custom-1-i386.cfg
@@ -5,7 +5,7 @@ config_opts['chroot_setup_cmd'] = ''
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
config_opts['package_manager'] = 'dnf'
-config_opts['dnf.conf'] = """
+config_opts['yum.conf'] = """
[main]
keepcache=1
debuglevel=2
diff --git a/roles/copr/backend/files/provision/files/mock/custom-1-ppc64le.cfg b/roles/copr/backend/files/provision/files/mock/custom-1-ppc64le.cfg
index 2ba2112d8..8742102d8 100644
--- a/roles/copr/backend/files/provision/files/mock/custom-1-ppc64le.cfg
+++ b/roles/copr/backend/files/provision/files/mock/custom-1-ppc64le.cfg
@@ -5,7 +5,7 @@ config_opts['chroot_setup_cmd'] = ''
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
config_opts['package_manager'] = 'dnf'
-config_opts['dnf.conf'] = """
+config_opts['yum.conf'] = """
[main]
keepcache=1
debuglevel=2
diff --git a/roles/copr/backend/files/provision/files/mock/custom-1-x86_64.cfg b/roles/copr/backend/files/provision/files/mock/custom-1-x86_64.cfg
index 913bfde47..43554b106 100644
--- a/roles/copr/backend/files/provision/files/mock/custom-1-x86_64.cfg
+++ b/roles/copr/backend/files/provision/files/mock/custom-1-x86_64.cfg
@@ -5,7 +5,7 @@ config_opts['chroot_setup_cmd'] = ''
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
config_opts['package_manager'] = 'dnf'
-config_opts['dnf.conf'] = """
+config_opts['yum.conf'] = """
[main]
keepcache=1
debuglevel=2