chef / chef-apply

The ad-hoc execution tool for the Chef ecosystem.
https://www.chef.sh/
Apache License 2.0
14 stars 14 forks source link

Chef product version not configurable #82

Open gsreynolds opened 5 years ago

gsreynolds commented 5 years ago

Description

Defaulting to the latest version of chef-client is great but should we allow specifying the version of chef-client to install on the target host as well?

https://github.com/chef/chef-apply/blob/2d6b0d1dd9480f862ec00fc2076a2000a312050d/lib/chef_apply/action/install_chef.rb#L79-L87

tyler-ball commented 5 years ago

Thanks @gsreynolds for filing this - we agree this is a needed feature. Checking to see if there is already a similar issue, and if we don't fine one, this will be the one we use to track this!

tyler-ball commented 5 years ago

For future discussions - I think some of the competing concerns here are 1) we don't want users to get stuck on super old versions of Chef Infra Client and pinning allows that, and 2) users have legitimate reasons to pin to Chef Infra Client versions (like upgrading breaks their cookbook)

gsantandrea commented 4 years ago

A flag should also be given to allow the execution of chef-run for airgapped nodes (both the chef workstation and the target node). Currently chef-run tries to go to the internet site packages.chef.io to retrieve the latest version and does not allow to use a local file.