cdnsfx
November 29, 2017, 11:16am
1
I didn't receive an answer yet for an issue in GitHub which I created on Oct 20, 2017 so I'll ask here
Yesterday (Oct 19), 13.5.22 was the latest prerelease of chef-client.
I installed it using the following parameters during knife bootstrap
--bootstrap-version 13.5.22 --prerelease
However. today (Oct 20) when I wanted to bootstrap 13.5.22 using the same parameters, chef installed the chef-client 13.5.25.
Removing the --prerelease caused a download failure, it could not find v. 13.5.22 that way.
How can I still install 13.5.22 during bootstrap?
The original GitHub issue is this one:
opened 08:26AM - 20 Oct 17 UTC
closed 11:57AM - 29 Nov 17 UTC
Yesterday, 13.5.22 was the latest prerelease of chef-client.
I installed it using the following parameters during knife bootstrap
--bootstrap-version 13.5.22 --prerelease
However. today when...
thommay
November 29, 2017, 12:43pm
2
Hi,
Knife bootstrap unfortunately needs a fairly major overhaul; some of that work is captured in https://github.com/chef/chef/issues/3920 , and the move to mixlib-install
would fix your problem.
I’ve not tried this but, try passing --bootstrap-version "13.5.22 -c current"
to the bootstrap script. Otherwise, you can take a copy of https://github.com/chef/chef/blob/master/lib/chef/knife/bootstrap/templates/chef-full.erb and add -c current
to https://github.com/chef/chef/blob/master/lib/chef/knife/bootstrap/templates/chef-full.erb#L174 . I know neither of these are ideal but they should get you going.
Cheers,
-Thom
cdnsfx
December 1, 2017, 8:58am
3
Ok, thank you very much. I guess I’ll just wait for the issues to be fixed