Chef Dependency Hell

I’ve been playing around with Chef in conjunction with Vagrant and it’s become very obvious the lack of dependency management.

Chef cookbooks has a metadata.rb which has a dependency directive to allow users to see what the cookbook relies on. Also the recipes themselves allow for includes from other cookbooks to check for dependencies but these are primitive text only. They do not specify where to get the dependencies and rely on each cookbook to have a unique name.

Like any other community driven project it’s becoming very evident the quality of the cookbooks vary widely. I’ve seen modules declaring they support Debian based OS yet require yum package manager.

Chef is relatively new but I think this is one area where it needs to improve upon.

About Danny

I.T software professional always studying and applying the knowledge gained and one way of doing this is to blog. Danny also has participates in a part time project called Energy@Home [http://code.google.com/p/energyathome/] for monitoring energy usage on a premise. Dedicated to I.T since studying pure Information Technology since the age of 16, Danny Tsang working in the field that he has aimed for since leaving school. View all posts by Danny → This entry was posted in Software and tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *.

All comments must go through an approval and anti-spam process before appearing on the website. Please be patience and do not re-submit your comment if it does not appear.

This site uses Akismet to reduce spam. Learn how your comment data is processed.