Cannot find a resource for nginx_site on ubuntu version 12.04

1.6k Views Asked by At

I am upgrading my chef version from 10.28 to 11.6, In almost every cookbook the resources definitions folder are not getting include in recipes file.

chef is throwing error

NameError

Cannot find a resource for <resource> on ubuntu version 12.04
1

There are 1 best solutions below

1
On

This is a Chef 11 "feature", already explained here on stackoverflow.

That post is mainly focused on missing attributes, but there is an issue with missing resources/definitions as well. If you follow the link you'll find couple of ways to solve the problem.

Although I think you already solved it by now, I hope this will help someone in the future :)