Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How to run a run list in several nodes? Now I wrote a script loop those severs and run using knife bootstrap. Is there better way to do it? Like how we use "knife ssh 'id:*', can we run a run list in filtered server

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

You can use "knife ash" to run "chef-client" on each found server with a custom run_list, http://docs.opscode.com/chef/chef_client.html has an option to override the run list using "-o".

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.