- From: Nikhil Shah <
>
- To: "
" <
>
- Cc: "
" <
>, Brad Knowles <
>
- Subject: [chef] Re: Re: Re: Re: Re: command to run only part of run list one a node
- Date: Thu, 5 Sep 2013 19:48:50 -0400
You would pass -r and pass either one or both roles
Thanks,
Nikhil Shah
On Sep 5, 2013, at 7:35 PM, Manoj
<
>
wrote:
>
But both these roles will be added to the node and will be run when I run
>
chef-client
>
>
Sent from my iPhone
>
>
On Sep 5, 2013, at 4:17 PM, Nikhil Shah
>
<
>
>
wrote:
>
>
> You can probably setup roles and add all 5 recipe on one role and have 3
>
> recipes on the second role
>
>
>
> Thanks,
>
>
>
> Nikhil Shah
>
>
>
> On Sep 5, 2013, at 7:04 PM, Manoj
>
> <
>
>
> wrote:
>
>
>
>> Thanks for the help ,
>
>>
>
>> The idea is that I have 5
>
>> Recipes I wanted to run on one node but also want a way where I can run 3
>
>> out of these 5 if required and not run all 5 all the time
>
>>
>
>> Thanks
>
>> Manoj
>
>>
>
>> Sent from my iPhone
>
>>
>
>> On Sep 5, 2013, at 3:34 PM, Brad Knowles
>
>> <
>
>
>> wrote:
>
>>
>
>>> On Sep 5, 2013, at 5:23 PM, Manoj Thakkar
>
>>> <
>
>
>>> wrote:
>
>>>
>
>>>> i have 5 recipes/cookbooks added as part of a node, i want to run only
>
>>>> 3 ina given chef-client run . how do i do it ?
>
>>>
>
>>> Set the run_list on the node to include the three cookbooks/recipes that
>
>>> you want to run. See
>
>>> <http://docs.opscode.com/essentials_node_object_run_lists.html> and
>
>>> <http://docs.opscode.com/knife_node.html#run-list-add>.
>
>>>
>
>>> --
>
>>> Brad Knowles
>
>>> <
>
>
>>> LinkedIn Profile: <http://tinyurl.com/y8kpxu>
>
>>>
- [chef] Re: command to run only part of run list one a node, (continued)
Archive powered by MHonArc 2.6.16.