Chef - Knife

  What is Inside .chef Folder

• knife.rb is the configuration file for Knife

• The other two files are certificates for authentication with Chef Server

Knife

• Knife provides an API interface between a local Chef repository and the Chef Server and lets you manage:

• Nodes

• Cookbooks and recipes

• Roles

• Stores of JSON data (data bags), including encrypted data

• Environments

• Cloud resources, including provisioning

• The installation of Chef on management workstations

• Searching of indexed data on the Chef Server


Knife.rb

• Default location

~/.chef/knife.rb

c:\users\You\.chef\ (Windows)

• Use a project specific configuration

.chef/knife.rb of the current directory

chef-repo/.chef/knife.rb


Knife Tips

• Commands are always structured as follows:

• knife

• NOUN (client)

• VERB (list)

You can get more help with

• knife NOUN help

• knife --help just shows options

Comments

Popular posts from this blog

Different Types of Reports in Scrum - Agile

Terraform

Scrum Master Interview help - Bootcamp