Skip to content

Commit

Permalink
Merge pull request #37167 from luitzifa/dnf-fix-yumpkg
Browse files Browse the repository at this point in the history
fixes pkgrepo for fedora>22
  • Loading branch information
Erik Johnson authored Oct 24, 2016
2 parents 0eb2565 + 40ecc46 commit cf0c149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/modules/yumpkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def _get_yum_config():
# fall back to parsing the config ourselves
# Look for the config the same order yum does
fn = None
paths = ('/etc/yum/yum.conf', '/etc/yum.conf')
paths = ('/etc/yum/yum.conf', '/etc/yum.conf', '/etc/dnf/dnf.conf')
for path in paths:
if os.path.exists(path):
fn = path
Expand Down

0 comments on commit cf0c149

Please sign in to comment.