mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #37257 from rallytime/merge-2016.3
[2016.3] Merge forward from 2015.8 to 2016.3
This commit is contained in:
commit
2087cfce90
@ -286,7 +286,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
|
||||
|
Loading…
Reference in New Issue
Block a user