Prevent omnibus-updater upgrading chef-client to >= v13.0.0

Hi,

I would like to prevent the omnibus-updater cookbook upgrading chef-client to v13 or newer. This is to prevent compatibility-breaking changes. I’ve added variable:

“omnibus_updater”: {
“version”: “< 13.0.0”
}

However the chef-client run fails with runtime error: “Could not construct URL for chef-download”. It works fine without this constraint.

Any ideas how I would achieve this?

Many thanks

The cookbook doesn’t actually take traditional version constraints. The version attribute is for a specific version you want. Otherwise it takes the latest. If you set that to the last 12.x release you want you should get the desired result.

-Tim