knife Command Examples

Interact with a Chef server from a local Chef repo. More information: https://docs.chef.io/knife.html.

knife bootstrap {{fqdn_or_ip}}

knife node list

knife node show {{node_name}}

knife node edit {{node_name}}

knife role edit {{role_name}}

knife data bag show {{data_bag_name}} {{data_bag_item}}

knife cookbook upload {{cookbook_name}}