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