knife
Interact with a Chef server from a local Chef repo. More information: https://docs.chef.io/workstation/knife/.
- Bootstrap a new node:
knife bootstrap
- List all registered nodes:
knife node list
- Show a node:
knife node show
- Edit a node:
knife node edit
- Edit a role:
knife role edit
- View a data bag:
knife data bag show
- Upload a local cookbook to the Chef server:
knife cookbook upload
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
