Node lists
A node list is a static list of nodes (node IDs) created by the user.
Create a node list
Create a node list payload in a JSON file:
{ "name": "<NODE_LIST_NAME>", "nodeIds": [ "<NODE_ID>", ... ] }
Replace:
<NODE_LIST_NAME>
with a name for the list<NODE_ID>
with a node or a list of nodes that are included in this node list
Create the node list:
chef-node-management-cli management list create-list --body-file <PAYLOAD_FILE>
The response is similar to the following:
{ "item": { "listId": "ab38aed7-f35a-4e44-90f5-ef9ea11e6464" } }