- From: Jeffrey Jones <
>
- To:
- Subject: [chef] yum::epel problems in wrapped cookbook
- Date: Thu, 13 Jun 2013 13:22:29 +0900
- Organization: Toppan Forms
Hello all.
I am using Vagrant with chef and berkshelf (A killer combo!) and have
run into some problems with the yum cookbook.
I have a "base" cookbook which installs a whole range of basic linux
utilities and software. It depends on the latest yum cookbook and
includes yum::yum and yum::epel. This works without trouble.
After that I have other cookbooks which depends on the "base" cookbook
and then add more specific software depending on what the server is
going to be doing, I believe this is commonly referred to as a
"wrapper" cookbook. The first line of the recipes/default.rb file in
this wrapper cookbook is: include_recipe "base::default".
Now when I run the base cookbook on its own the provisioning works
without trouble.
However when I run the wrapper cookbook the epel installation appears to
fail with the following:
https://gist.github.com/rurounijones/5771208
It appears that it is not finding the epel key etc etc. but I cannot
understand why.
I don't suppose anyone could enlighten me and explain what would be the
right way to fix this?
Cheers
Jeff
- [chef] yum::epel problems in wrapped cookbook, Jeffrey Jones, 06/12/2013
Archive powered by MHonArc 2.6.16.