HomePhorge

(PUP-2916) If reposdir is set, replace the default directories instead of…
43e6155d3d86Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

(PUP-2916) If reposdir is set, replace the default directories instead of appending

When a custom reposdir is present in the yum.conf file, yum will only
read files from that directory/directories (plus yum.conf).

Previously, the yumrepo provider was reading all files from all
directories in the reposdir array including the default directory, even
though they would have been ignored by yum. This was an issue if the
same repo existed in both the default directory and the custom
directory. This change just replaces the default directories instead of
appending to them if reposdir is set.

Details

Provenance
Daniel Sung <Daniel.sung@framestore.com>Authored on
Scott Garman <scott.garman@puppetlabs.com>Committed on Feb 7 2015, 12:06 AM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUc77efcdb01ed: (PUP-2916) Actually read the yum config file to look up specific values
Branches
Unknown
Tags
Unknown

Event Timeline

Scott Garman <scott.garman@puppetlabs.com> committed rPU43e6155d3d86: (PUP-2916) If reposdir is set, replace the default directories instead of… (authored by Daniel Sung <Daniel.sung@framestore.com>).Feb 7 2015, 12:06 AM