Closed iancward closed 6 years ago
@iancward curious how do you prevent chef client versions < 12.0.0. if you don't mind sharing?
@scalp42 it's a setting in private chef server:
PrivateChef['lb']['chef_min_version'] = 12
here's the relevant documentation: https://docs.chef.io/config_rb_server_optional_settings.html#lb-lb-internal
FYI, this is the line of code in question, which @iancward linked in the main description already: https://github.com/berkshelf/ridley/blob/36b43e93f57a7fc472e1e232de8a575bf6d9f305/lib/ridley.rb#L16
Fixed by #377
As part of a general effort to get folks to "get with the times", in our private chef installation, we'd like to prohibit chef client versions prior to 12.0.0. Unfortunately, Ridley (which Berkshelf uses) masquerades as chef client version
11.4.0
so berkshelf is getting blocked. This means we're unable to do things like use berks to upload cookbooks to the chef version.Can we get this hard-coded version to be changed to something a bit more recent?