[chef-dev] Re: Re: Re: CHEF-2988 allowed_recipes, restricted_recipes, and override_recipes


Chronological Thread 
  • From: Chris Roberts < >
  • To: Bryan McLellan < >
  • Cc: AJ Christensen < >,
  • Subject: [chef-dev] Re: Re: Re: CHEF-2988 allowed_recipes, restricted_recipes, and override_recipes
  • Date: Mon, 26 Mar 2012 17:39:15 -0700


With regards to the allowed/restricted recipes, it would be very easy to allow this to be set via role attributes. After the attribute expansion within the #load on RunContext, the node could be checked for allowed/restricted recipes and set them. However, I would see any values already set having precedence as the command line call should have the final say.

Still requires some specs to be added for coverage, but this would be the gist of it:

https://github.com/chrisroberts/chef/commit/f2368e5894f196bc016a2bc79b92cf56f2e1613d



Archive powered by MHonArc 2.6.16.

§