devops:chef
This is an old revision of the document!
Table of Contents
Chef
Implements Structure As a Service.
For Chef to work it requires three main elements:
- Ordered List Itema Chef Server,
- one (or more) nodes,
- and at least one workstation.
Receipts | Chef relies on reusable definitions known as recipes to automate infrastructure tasks. Examples of recipes are instructions for configuring web servers, databases and load balancers. Together, recipes describe what your infrastructure consists of and how each part of your infrastructure should be deployed, configured and managed. |
Ressources | Recipes use building blocks called resources. A resource describes some piece of infrastructure, such as a file, a template, or a package to be installed. |
Chef-Server | The Chef server stores your recipes as well as other configuration data. The Chef server acts as a hub that is available to every node in the organization to make use of recipes and configuration data. |
Node | A node can be a physical server, a virtual server or a cloud instance. Nodes are managed by Chef-Server, according to associated receipts. Once the node is connected to a Chef Server it periodically polls the Chef Server using a tool called Chef Client for the latest recipes and checks to see if the node is in compliance with the policy defined by these recipes. If the node is out of date, the Chef Client runs them on the node to bring it up to date. The Chef Client is installed on each node in your network requiring automated configuration. |
Bootstrapping | The nodes are connected to a Chef Server through a process called bootstrapping. The bootstrapping is just an installation of chef-node-software on a PC from a Workstation, using Knife-Tool |
Work station | Used for Administrations of receipts. The work station, usually a laptop, is the location from which recipes and other chef configuration files are authored and synchronized with a git repository known as Chef-Repo that stores the files. The work station can also be used to bootstrap nodes to the Chef Server. |
Knife | knife is a command-line tool that provides an interface between a Workstation, local chef-repo and the Chef server. knife helps users to manage:
|
devops/chef.1460444479.txt.gz · Last modified: (external edit)