Use supermarket cookbooks with Chef 11?

23 views
Skip to first unread message

Thomas Fee

unread,
Sep 1, 2016, 12:07:25 PM9/1/16
to learnchef-fundamentals-webinar
Recently, it doesn't seem possible to apply any Chef Supermarket cookbook to a Chef version 11 system anymore. Are the two now incompatible? Is there a workaround?

Nathen Harvey

unread,
Sep 1, 2016, 1:25:48 PM9/1/16
to learnchef-fundamentals-webinar
Thomas,

A cookbook's metadata.rb can now include a chef_version attribute.  For example the chef_nginx cookbook states that it requires Chef 12.1 or later.

You may need to grab an older version of the cookbook from the Supermarket for it work in your environment.

It would be helpful if you gave a specific example of a cookbook and the error messages you are seeing.

I should note that it's probably a good idea to move this discussion over to the Chef Mailing List, too.  You can sign-up for that at https://discourse.chef.io/

Thanks!
Nathen

Reply all
Reply to author
Forward
0 new messages