About chef-client 12.5¶
Chef is a systems and cloud infrastructure automation framework that makes it easy to deploy servers and applications to any physical, virtual, or cloud location, no matter the size of the infrastructure. Each organization is comprised of one (or more) workstations, a single server, and every node that will be configured and maintained by the chef-client. Cookbooks (and recipes) are used to tell the chef-client how each node in your organization should be configured. The chef-client (which is installed on every node) does the actual configuration.
View the release notes for chef-client 12.5.
Getting Started¶
From the beginning: Overview (long)
Key concepts: Workstations | The Server | Nodes | Cookbooks | Attributes | Resources | Custom Resources | Knife
Using Ruby: Just Enough Ruby for Chef
The Workstation¶
The Basics: About the Workstation | The chef-repo | Knife | Debug Recipes
Install: Install the chef-client on a Workstation | Bootstrap a Node | Create and Sync the chef-repo
Knife: About Knife | Common Options | Working with Knife — Commands: bootstrap | client | configure | cookbook | cookbook site | data bag | delete | deps | diff | download | edit | environment | exec | list | node | raw | recipe list | role | search | serve | show | ssh | ssl check | ssl fetch | status | tag | upload | user | xargs
Settings: knife.rb | metadata.rb
The Nodes¶
The Basics: About Nodes | chef-client (agent) | The chef-client Run | Chef Solo | Debug Recipes
Install: Install the chef-client on a Node (Bootstrap) and knife bootstrap | Install the chef-client on Windows | Download the chef-client with Omnitruck API
Ohai: About Ohai | Custom Ohai Plugins
Command-line Tools: chef-client (executable) | chef-solo (executable) | chef-shell (executable)
Cookbooks¶
The Basics: About Cookbooks | About Recipes | About Attribute Files | Handlers | Popular Cookbooks
Custom Resources: About Custom Resources
Other Cookbook Components: About Definitions | About Files | About Libraries | About Cookbook Metadata | About Templates | About Versions
The Recipe DSL: About the Recipe DSL — Methods: attribute? | control | control_group | cookbook_name | data_bag | data_bag_item | platform? | platform_family? | reboot_pending | recipe_name | registry_data_exists? | registry_get_subkeys | registry_get_values | registry_has_subkeys? | registry_key_exists? | registry_value_exists? | resources | search | shell_out | shell_out! | shell_out_with_systems_locale | tag | tagged? | untag | value_for_platform | value_for_platform_family | Windows Platform Helpers
Resources: About Resources | Common Functionality — apt_package | bash | batch | bff_package | breakpoint | chef_gem | chef_handler | cookbook_file | cron | deploy | directory | dpkg_package | dsc_resource | dsc_script | easy_install_package | env | erl_call | execute | file | gem_package | git | group | homebrew_package | http_request | ifconfig | link | log | mdadm | mount | ohai | package | powershell_script | reboot | registry_key | remote_directory | remote_file | route | rpm_package | ruby_block | script | service | subversion | template | user | windows_package | windows_service | yum_package