Reputation: 1924
I am using OpsWorks. Multiple versions of build-essential
cookbook are required because:
mysql
cookbook requires 'build-essential', '~> 1.4'
nginx
cookbook requires 'build-essential', '~> 2.0'
(the version I have in my repo curently)So when launching instance in OpsWorks, I get this error message:
================================================================================
Error Resolving Cookbooks for Run List:
================================================================================
Missing Cookbooks:
------------------
Could not satisfy version constraints for: build-essential
How could this conflict can be solved?
Thank you.
I ran into this thread. The last answer suggested to use role and environment, which cannot be applied in my case because I am using OpsWorks (OpsWorks does not have Chef server to manage multiple cookbook versions, and it also does not have such "role", "environment" concepts).
Upvotes: 1
Views: 1807
Reputation: 7349
If you are able to use an older version of the nginx cookbook (v2.4.2, about a month old), that one depends on build-essential ~> 1.4.
Also it sounds like you're using Chef-community cookbooks, It seems that OpsWorks itself has cookbooks for mysql and nginx. (unfortunately named the same as the community ones). Have you evaluated if those are solutions for your situation?
Upvotes: 2