-
Notifications
You must be signed in to change notification settings - Fork 54
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
Add CINC to product matrix #389
Conversation
The chef_client_updater needs the cinc product adding to mixlib-install so that it can support cinc-client upgrades.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added the sign off to the commit.
The chef_client_updater needs the cinc product adding to mixlib-install so that it can support cinc-client upgrades. Signed-off-by: Stuart Stephen <[email protected]>
The directory name is incorrect when upgrading CINC. This change fixes the path. This change is coupled with chef/mixlib-install#389. Signed-off-by: Stuart Stephen [email protected]
The directory name is incorrect when upgrading CINC. This change fixes the path. This change is coupled with chef/mixlib-install#389. Signed-off-by: Stuart Stephen <[email protected]>
Pending successful build run. |
Signed-off-by: Stuart Stephen <[email protected]>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
This isn't needed as we maintain our own gem for this. You can use the following chef_client_updater "cinc-client" do
product_name 'cinc'
rubygems_url 'https://packagecloud.io/cinc-project/stable'
end |
This doesn't work because of chef-cookbooks/chef_client_updater#249 which is why the product needs to be added. |
@mrswadge that is failing due to the fact that you have the upstream mixlib-install gem already installed. You need to remove that gem and then do what I describe above. That will install the gem from our repo with our matrix included. |
Does your gem also fix the issue I encountered in chef_client_updater too? |
@mrswadge it should since that constant is included in Cinc Client. Keep in mind if you're migrating from Chef to Cinc using this resource, you likely will be running into this issue. However if you're using that resource with Cinc Client, it should work fine. |
We're upgrading from Windows Cinc 15.6.10 to 18.2.7 and ran into the issue. |
@mrswadge I seem to recall there possibly being some issues with those constants not being present in 15.6 so that would make sense. You may need to do a manual migration unfortunately. |
After discussing with @ramereth, we have opted to close this PR |
The chef_client_updater needs the cinc product adding to mixlib-install so that it can support cinc-client upgrades.
Description
I've been trying to get a cinc-client upgrade from 15.6.10 to work to 18.2.7, but this fails with the latest mixlib-install gem (3.12.27) and the latest sources of https://github.com/chef-cookbooks/chef_client_updater (3.12.1).
An additional change is required in https://github.com/chef-cookbooks/chef_client_updater/blob/main/providers/default.rb to make the upgrade process work as below. See chef-cookbooks/chef_client_updater#252
For me, this was enough to get the upgrade working.
Related Issue
chef-cookbooks/chef_client_updater#228
#339
chef-cookbooks/chef_client_updater#249
Types of changes
Checklist: