Chef-client cookbook or chef-client upgrade first

We have quite a few servers that have chef-client software version 12.21.1. I want to get these upgraded to the new version but I also want to update chef-client cookbook. The new chef-client cookbook states that it needs to have 13+ of chef client software.

Will the chef-client cookbook update fail on these nodes?
Should I do the upgrade of software before the chef-client cookbook update?



I figured it out. It wont do an upgrade of the chef-client without a newer version of the software

Chef::Exceptions::CookbookChefVersionMismatch: Cookbook 'chef-client' version '11.0.1' depends on chef version [">= 13.0"], but the running chef version is 12.21.20