[chef] Re: i need to execute a particular cookbook in lot of cookbooks available in node run-list at the time of run chef-client


Chronological Thread 
  • From: AJ Christensen < >
  • To:
  • Subject: [chef] Re: i need to execute a particular cookbook in lot of cookbooks available in node run-list at the time of run chef-client
  • Date: Sun, 6 Jan 2013 08:38:06 +1300

Ganesan.A,

Use the --override-runlist functionality of Chef Client/Chef Solo to only run an individual cookbook.

e.g. 'sudo chef-client --override-runlist "recipe[banana],role[purple]"'

Cheers,

AJ


On 6 January 2013 01:27, < " target="_blank"> > wrote:
hi,

I have lot of cookbooks in node run-list but I need to run only one cookbook at
a time once you run the chef-client it executes all in run-list how can I
execute for particular cookbook?? I don’t want to do in bootstrap time ,I
need after bootstrapping ,all cookbooks  upload for particular node one by one
and add in run list and execute with ‘sudo chef-client’ command for
particular cookbook please send any solution for this as soon as possible.


Thanks and Regards,
Ganesan.A




Archive powered by MHonArc 2.6.16.

§