chef_client_updater icon indicating copy to clipboard operation
chef_client_updater copied to clipboard

Support upgrading of CINC Client

Open mrswadge opened this issue 1 year ago • 5 comments

Description

The directory name is incorrect when upgrading CINC. This change fixes the path.

This change is coupled with https://github.com/chef/mixlib-install/pull/389.

Related Issues

https://github.com/chef-cookbooks/chef_client_updater/issues/228 https://github.com/chef/mixlib-install/issues/339 https://github.com/chef-cookbooks/chef_client_updater/issues/249

Check List

mrswadge avatar Jul 24 '23 15:07 mrswadge

Each time I sign off the commit, it's adding a new merge remote commit. Any idea how to stop that?

mrswadge avatar Jul 24 '23 15:07 mrswadge

I would super like to have cinc-client upgrades work :D

dkowis avatar Jan 31 '24 00:01 dkowis

The issue affects very old cinc-client versions (we're on 15.6.10 and upgrading to 18.3.0), so the maintainers opted not to take the changes, which is their decision.

If you take the code changes I have suggested in this PR and also the mixlib changes mentioned too, then the upgrade can work. I've put my custom mixlib into an artifactory instance and so that's been enough for me to make progress.

mrswadge avatar Jan 31 '24 08:01 mrswadge

Oh that's interesting. I'm on cinc-client 18.3.0 and it didn't cooperate. I got the same error from https://github.com/chef-cookbooks/chef_client_updater/issues/249 and I thought this was still the solution... Maybe it's not related to this, but more on that other one.

dkowis avatar Jan 31 '24 16:01 dkowis

There is a product matrix in mixlib that needed updating to add cinc which is what my pull request to mixlib added: https://github.com/chef/mixlib-install/pull/389

See this specifically: https://github.com/chef/mixlib-install/pull/389/files#diff-860efd9d5bfa21f0570091e1f7311509857b47def4905b6c8f76b283950f2a8cR50

mrswadge avatar Jan 31 '24 18:01 mrswadge