- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Re: run_context.include_recipe in a recipe within a role
- Date: Wed, 29 May 2013 09:14:29 -0700
On Wednesday, May 29, 2013 at 9:06 AM, Dorian Jaminais wrote:
I am still tracking down my problem and I have some news.
It appears that he problem is not specific to the git cookbook.
Indeed it appears that all recipes included in a LWRP 'run_context.include_recipe' is only really added to the run_list if the LWRP is called once during the run_list.
If the LWRP is called more than once, it tells me that the resource has already been added to the run_list even if it has not.
Is this a known bug ? I am doing something wrong ?
I am failing to find any clues using my google-fu so I am turning to your expertise.
2013/5/29 Dorian Jaminais
<
" target="_blank">
>Hi everyone
I am having trouble with LWRP, include_recipe and roles.
I have a LWRP that includes some cookbooks :
run_context.include_recipe "git"
run_context.include_recipe "internal-cookbook"
run_context.include_recipe "build-essential"
This is a bit odd. Why does the LWRP do this instead of a recipe? Showing more code, log output, and explaining why you're doing things this way would help others to understand your issue better.
--
Daniel DeLeo
- [chef] run_context.include_recipe in a recipe within a role, Dorian Jaminais, 05/29/2013
- [chef] Re: run_context.include_recipe in a recipe within a role, Dorian Jaminais, 05/29/2013
- [chef] Re: Re: run_context.include_recipe in a recipe within a role, Daniel DeLeo, 05/29/2013
- [chef] Re: Re: Re: run_context.include_recipe in a recipe within a role, Dorian Jaminais, 05/29/2013
- [chef] Re: Re: Re: Re: run_context.include_recipe in a recipe within a role, John E. Vincent (lusis), 05/29/2013
- [chef] Re: Re: Re: Re: Re: run_context.include_recipe in a recipe within a role, Dorian Jaminais, 05/29/2013
- [chef] Re: Re: Re: Re: Re: run_context.include_recipe in a recipe within a role, John E. Vincent (lusis), 05/29/2013
- [chef] Re: Re: Re: Re: Re: Re: run_context.include_recipe in a recipe within a role, Ranjib Dey, 05/29/2013
- [chef] Re: Re: Re: Re: Re: Re: Re: run_context.include_recipe in a recipe within a role, Sean Escriva, 05/29/2013
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: run_context.include_recipe in a recipe within a role, Ranjib Dey, 05/29/2013
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: run_context.include_recipe in a recipe within a role, Cassiano Leal, 05/29/2013
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: run_context.include_recipe in a recipe within a role, Ranjib Dey, 05/29/2013
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: run_context.include_recipe in a recipe within a role, John E. Vincent (lusis), 05/29/2013
Archive powered by MHonArc 2.6.16.