-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audit cookbook failing to install from internal Ruby gem mirror #200
Comments
Here is my gem list from that machine:
|
Install Train 0.22.0 and then remove Train 0.22.1 |
Train 0.22.0 was installed previously due to older chef-client/inspec versions |
Installing a new version of Inspec will not update Train since 0.22.0 is installed and its the minimum version required. |
@koldrid Thank you for your finding. Seems like we should add some special handling here to ease the use of the new chef client. |
Resolved by #203 |
Cookbook version
2.4.0
Chef-client version
12.19.36
Platform Details
OEL 5.11
Scenario:
Running the
audit::default
recipe on a node fails to install latestinspec
from an internal mirrorSteps to Reproduce:
Update
default['audit']['inspec_gem_source']
to point to an internal mirror and converge chef-clientExpected Result:
The internal mirror has the latest version of inspec staged as well as its dependencies. When
chef-client
runs it should pull inspec and its dependencies from the mirror and install them on the nodeActual Result:
If I logon to the host and manually install the gem everything works.
The text was updated successfully, but these errors were encountered: