chef-boneyard/omnibus

need apt cookbook

Closed this issue · 2 comments

shouldn't this depend on the apt cookbook and include_recipe it on ubuntu so that we're up-to-date and can install software?

i'm running into issues with vagrant bento boxes having out of date apt-caches and blowing up trying to install libxml2-dev and such..

@lamont-granquist this discussion happens on almost every community cookbook that requires an updated apt cache. The generally consensus among the COOK team was that it's up to the user to include the apt recipe.

If you're using Test Kitchen, the apt recipe is automatically included for you, and thus the cache is updated.

Yes, but internally we've been using this as a role cookbook. The omnibus-chef Vagrantfile broke because the apt cookbook was removed. And the README claims:

"Prepares a machine to be an Omnibus builder."

Which is incorrect now.

At the very least you've got a doc bug to describe the additional dependencies required to build the cookbook.