Open tnargnai opened 9 years ago
The :install_msi_url
is intended to point to a MSI resource for windows machines.
Use [:convergence_options][:install_sh_url] for linux installs.
Ahh man sorry.... I haven't worked with windows since the late 90's and was not thinking about windows at all :)
Ok I thought the [:convergence_options][:install_sh_url] referred to the chef omnibus installer. If you use that then you have to execute in the following way to specify the chef-client version:
curl -LO https://www.chef.io/chef/install.sh && sudo bash ./install.sh -v 12.4.3-1 && rm install.sh
or
curl -L https://www.chef.io/chef/install.sh | sudo bash -s -- -v 12.4.3-1
So I'm not sure how you pass that into [:convergence_options][:install_sh_url].
I've tried creating my own install script and putting it on our package repo server which is accessible via http but I just keep ending up with the latest version of chef-client.
Thanks Ian
Looking over the chef-provisioning code here it looks like install_sh_url
is no longer used. I never used that myself anyways. On linux boxes I have used the [:convergence_options][:chef_version]
setting with success. It just takes a simple version string like '12.4.3'
and then uses an url that makes sense for the platform you are on. Give that a shot.
Hi all,
Has anyone been able to specify the chef-client version with the :convergence_options :install_msi_url option? I keep getting the latest version (12.5.1) no matter what I put. Below is my config. I'm pulling in my machine options from a data bag: