Nothing deprecated nor wrong. It is role run list per environment. You still have to add the role to the node running, so it's not answering the problem.
The only way I think of is a cron searching nodes without the recipe and adding it.
Maybe with something like knife-audit (unsure of the name) or a search pattern...
Envoyé à partir de mon smartphone Sony Xperia™
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.