[chef] Re: Re: Enforce certain recipe in run_list


Chronological Thread 
  • From: Ranjib Dey < >
  • To:
  • Subject: [chef] Re: Re: Enforce certain recipe in run_list
  • Date: Wed, 24 Sep 2014 13:35:10 -0700

yeah., but as noah mentioned, and i just confirmed with pry., i dont see a run_list on the Chef::Environment objects. neither i can find any reference on lib/chef/environment.rb. But this is the same link i had read (long time before), may be this is wrong documentation, or a deprecated feature..

On Wed, Sep 24, 2014 at 1:20 PM, Aimelyne Mochiron < " target="_blank"> > wrote:
Roles can declare environment-specific run lists though: https://docs.getchef.com/essentials_roles.html#set-per-environment-run-lists

Maybe this is what Ranjib meant?

am

On 24 Sep 2014, at 22:27, Lamont Granquist < "> > wrote:

>
> Probably a good one for an RFC and/or discussion at the Chef Summit.
>
> On Wed Sep 24 11:42:05 2014, Olivier Bazoud wrote:
>> This could be an interesting feature ;)
>>
>> Le 24 sept. 2014 19:29, "Noah Kantrowitz" < ">
>> <mailto: "> >> a écrit :
>>
>>
>>    On Sep 24, 2014, at 10:25 AM, Ranjib Dey < ">
>>    <mailto: "> >> wrote:
>>
>>    > You can use environment run list to enforce certain roles or
>>    recipes across all nodes from that environment. You have to
>>    specify these across all environments.
>>    > Base roles are more popular for this use case :-)
>>    >
>>
>>    No, environments do not have run lists. Also the default
>>    "_default" environment is immutable anyway.
>>
>>    --Noah
>>
>
>





Archive powered by MHonArc 2.6.16.

§