lib/chef/provider/package/yum-dump.py in chef-0.9.8 vs lib/chef/provider/package/yum-dump.py in chef-0.9.10.rc.0

- old
+ new

@@ -58,11 +58,14 @@ y.errorlog = __log # Yum assumes it can update the cache directory. Disable this for non root # users. y.conf.cache = os.geteuid() != 0 - - # Spin up to lock_timeout. + + # Override any setting in yum.conf - we only care about the newest + y.conf.showdupesfromrepos = False + + # Spin up to lock_timeout. countdown = lock_timeout while True: try: y.doLock(PIDFILE) except Errors.LockError, e: