-
Notifications
You must be signed in to change notification settings - Fork 28
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
No way to install new cheffish version in single chef-client run once it got activated #89
Comments
I'm not a Ruby VM expert, but in general hot-swapping code is really hard, and I'd be very surprised if Ruby has acquired this capability since the last time I looked. Is there a place you can put a |
@randomcamel I ended up just baking chef-client into my image removing 1.2 and installing 1.5.0 cheffish gem. Then at deploy time the correct version of cheffish will get activated by chef-client and used. |
@poliva83 Okay to close this? I don't think it's really a Cheffish-specific problem. |
@randomcamel I do have a workaround so I am fine to close. However I did discuss problem with @jkeiser yesterday and he mentioned to keep it open since others could potentially hit same problem. |
@poliva83 this commit to chef should fix this: chef/chef#4264 Chef 12.6 should have the fix! |
@jkeiser Thanks I will check try this out when 12.6 is released. |
I used chef-client 12.4.1 which has cheffish version 1.2. I hit issue #50 when trying to create organization with members.
I then used chef_gem at compile time to install version 1.5.0 (1.6.0 conflicts with chef-client 12.4.1) however I can not activate 1.5.0 since chef-client seems to have already activated 1.2. Only workaround (which kind of stinks) I have is to stop chef-client after 1.5.0 is installed and then trigger a new chef-client run and it seems to pick up latest version. Same result even if you have a chef_gem resource removing 1.2 (doesn't matter as its already activated) before installing 1.5.0. Is there anyway to get chef-client to deactivate cheffish 1.2 during chef-client run?
The text was updated successfully, but these errors were encountered: