InterviewSolution
Saved Bookmarks
| 1. |
What are the various ways in which you can update a Chef run list for a Chef node? |
|
Answer» We can update the Chef run lists with the below TWO options:
For eg: ```knife node run_list ADD <NODE_NAME> <RUN_LIST_ITEM> (options)``` commands could be used to add a recipe or a role in the run list of a node. Similarly ```knife node run_list remove <NODE_NAME> <RUN_LIST_ITEM> (options)``` command could be used to remove from the run list. We can also specify the run list for a node while bootstrapping the node using the “knife bootstrap” command.
|
|