I use this recipe in a variety of other internal cookbooks.The git cookbook is the one available at opscode.I have a LWRP that includes some cookbooks :Hi everyoneI am having trouble with LWRP, include_recipe and roles.
run_context.include_recipe "git"
run_context.include_recipe "internal-cookbook"
run_context.include_recipe "build-essential"
Here is my problem : when I add the cookbooks that use the LWRP directly to a node's run_list, it works perfectly but when I add them via a role, git is not installed. It works for the two other recipes included in the LWRP but not for git.
In the logs I have :
DEBUG: Loading Recipe git via include_recipe
DEBUG: Found recipe default in cookbook git
and then it goes to the next cookbook without the expected
INFO: Processing package[git] action install (base::default line 9)
I am running chef 11.4.4 on ubuntu 12.04 LTS
Do you guys have any ideas what is happening and how to solve this ?
Archive powered by MHonArc 2.6.16.