devops:chef
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
devops:chef [2016/04/12 07:01] – skipidar | devops:chef [2023/11/01 07:15] (current) – ↷ Page moved from camunda:devops:chef to devops:chef skipidar | ||
---|---|---|---|
Line 11: | Line 11: | ||
|Ressources|Recipes use building blocks called **resources**. A resource describes some piece of infrastructure, | |Ressources|Recipes use building blocks called **resources**. A resource describes some piece of infrastructure, | ||
|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.| | |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, | + | |Node|A node can be a physical server, a virtual server or a cloud instance. Nodes are managed by Chef-Server, |
+ | |Chef Client|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, | |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, | ||
|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.| | |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.| | ||
Line 23: | Line 24: | ||
* The installation of the chef-client on management workstations | * The installation of the chef-client on management workstations | ||
* Searching of indexed data on the Chef server | * Searching of indexed data on the Chef server | ||
+ | </ | ||
+ | |CookBook| A collection of receipts. E.g. " | ||
+ | |Roles|Role can be assigned to a node. \\ A role is a way to define certain patterns and processes that exist across nodes in an organization as belonging to a single job function. \\ When a chef-client runs, it merges its own attributes and run-lists with those contained within each assigned role.| | ||
+ | |Databag|< | ||
+ | |||
+ | A data bag is a container of related data bag items, where each individual data bag item is a JSON file. knife can load a data bag item by specifying the name of the data bag to which the item belongs and then the filename of the data bag item. | ||
+ | |||
+ | When the chef-repo is cloned from GitHub, the following occurs: | ||
+ | * A directory named data_bags is created. | ||
+ | * For each data bag, a sub-directory is created that has the same name as the data bag. | ||
+ | * For each data bag item, a JSON file is created and placed in the appropriate sub-directory. | ||
</ | </ |
devops/chef.1460444479.txt.gz · Last modified: (external edit)