knife

knife

TLDR

Bootstrap a new node

$ knife bootstrap [fqdn_or_ip]
copy


List all registered nodes
$ knife node list
copy


Show a node
$ knife node show [node_name]
copy


Edit a node
$ knife node edit [node_name]
copy


Edit a role
$ knife role edit [role_name]
copy


View a data bag
$ knife data bag show [data_bag_name] [data_bag_item]
copy


Upload a local cookbook to the Chef server
$ knife cookbook upload [cookbook_name]
copy

Copied to clipboard