- From: Steven Danna <
>
- To: <
>
- Subject: [chef] Re: Re: Re: Re: yum::epel problems in wrapped cookbook
- Date: Fri, 14 Jun 2013 14:22:00 -0700
On 6/14/13 7:57 AM, Julian C. Dunn wrote:
>
Hey Jeffrey: I don't see your recipe code anywhere but judging from the
>
gist you have something like this:
>
>
connector::default has include_recipe "torquebox-web-server"
>
torquebox-web-server::default has include_recipe "yum::epel"
>
>
Is "yum" anywhere in your metadata for any of those cookbooks?
>
>
Even I'm not entirely sure whether include_recipe also loads attributes
>
from the dependent cookbook...
The attribute files of all cookbooks in the run list and their
dependencies get loaded during the converge phase. What is interesting
here is that a breaking change for Chef 11 was that chef-solo won't be
able to include_recipe unless you've also specified "depends" in your
metadata. Thus, I believe this should be working correctly.
If you use
include_attribute "yum::epel"
in your default attribute file for the connector cookbook, does that
resolve the issue?
Cheers,
Steven
>
- Julian
>
>
>
On Thu, Jun 13, 2013 at 8:26 PM, Jeffrey Jones
>
<
>
<mailto:
>>
>
wrote:
>
>
Hello Steven,
>
>
I have added the extra debug output to the gist:
>
https://gist.github.com/__rurounijones/5771208
>
<https://gist.github.com/rurounijones/5771208>
>
>
Thanks
>
>
Jeff
>
>
>
On 13/06/13 15:50, Steven Danna wrote:
>
>
Hi Jeff,
>
>
On 6/12/13 9:22 PM, Jeffrey Jones wrote:
>
>
However when I run the wrapper cookbook the epel
>
installation appears to
>
fail with the following:
>
https://gist.github.com/__rurounijones/5771208
>
<https://gist.github.com/rurounijones/5771208>
>
>
Can you post the output with an increased log level? I believe
>
that you
>
can do this in your vagrant file by setting chef.log_level = :debug.
>
Alternatively, you can ssh into the VM and run
>
>
chef-solo -ldebug -c /tmp/vagrant-chef-1/solo.rb -j
>
/tmp/vagrant-chef-1/dna.json
>
>
Cheers,
>
>
Steven
>
>
>
>
>
>
>
--
>
[ Julian C. Dunn
>
<
>
>
<mailto:
>>
>
>
* Sorry, I'm ]
>
[ WWW: http://www.aquezada.com/staff/julian * only Web 1.0 ]
>
[ gopher://sdf.org/1/users/keymaker/ <http://sdf.org/1/users/keymaker/>
>
* compliant! ]
>
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]
--
Steven Danna
Systems Engineer, Opscode, Inc
GPG Key:
http://stevendanna.github.com/downloads/code/public.key
Attachment:
signature.asc
Description: OpenPGP digital signature
Archive powered by MHonArc 2.6.16.