mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue