capabilities.work

Decommission a Node

A 3-step recipe with Chef. We can help you get access.

Recipe · 3 steps

Decommission a Node

with Chef

Archive and remove a retired node from the Chef Infra Server.

  1. Read the node one last time so its environment, run list, and attributes can be archived before the object is destroyed.
  2. Delete the node object from the organization. The Infra Server returns the deleted node document in the response body.
  3. Relist the organization's nodes and assert the retired name is no longer present, closing the loop on the decommission.
What you'll need to have ready
  • nodeName: The node being retired (e.g. web-01.example.com).
For your developer

Arazzo workflow chef:decommission-node, 3 operations: getNode → deleteNode → listNodes. Specs on APIs.io.