Details
-
Type:
Bug
-
Status:
Fix Committed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 10.16.2
-
Fix Version/s: 10.18.0
-
Component/s: Chef Client
-
Labels:None
Description
I am trying to install a package via Yum on some systems from a repo that is disabled by default on the nodes. I was hoping to do this by passing "--enablerepo=my-test-repo" via the package options.
However, the Yum provider appears to have some package version detection since CHEF-2062 that is not aware of my enabled repo. I think it should be possible to override this version detection logic somehow for this use case.
Issue Links
- relates to
-
CHEF-2698
Chef should support platform-specific resources
-
The yum provider in 0.10.2 has been rewritten and allows for this attribute:
that you could use to dump the cache before attempting the install with the enabled repo. I believe this should do the trick but will help test this once 0.10.2 is released.