- From: Jay Reslock <
>
- To:
- Subject: [chef] Overriding node attributes with a wrapper cookbook
- Date: Fri, 20 Jun 2014 13:44:50 -0400
I'm hoping someone can help me figure this one out.
my_wrapper_cookbook depends on the community hadoop cookbook. Each recipe in the hadoop cookbook has an 'include_recipe hadoop::repo' in order to set up the appropriate yum/apt repos for installation.
I want to use local repo mirrors to speed up the installation process because I'm installing hadoop clusters via automation to run testing every night. The installation process takes a long time.
I'm trying my_cookbook -> attributes -> repos.rb and setting node.override there. These do not seem to be picked up when I converge the node. Instead, the attributes are being set via hadoop::repo for every recipe that is run since each recipe in the hadoop cookbook includes the repo recipe.
- [chef] Overriding node attributes with a wrapper cookbook, Jay Reslock, 06/20/2014
Archive powered by MHonArc 2.6.16.