|
1 | | -.. THIS PAGE DOCUMENTS Chef server version 12.2 |
2 | | -
|
3 | 1 | ===================================================== |
4 | | -About |chef server_title| 12.4 |
| 2 | +About |chef client| 12.4 |
5 | 3 | ===================================================== |
6 | 4 |
|
7 | 5 | .. include:: ../../includes_chef/includes_chef_index.rst |
8 | 6 |
|
9 | | -.. note:: |chef server| 12 is the new |chef server|! The documentation for Open Source Chef and Enterprise Chef is still available from the version list. |
10 | | - |
11 | | -View the :doc:`release notes </release_notes>` for the current version of the |chef server|. |
| 7 | +View the :doc:`release notes </release_notes>` for |chef client| 12.4. |
12 | 8 |
|
13 | 9 | Getting Started |
14 | 10 | ===================================================== |
15 | | -If you are new to |chef|, familiarize yourself with its main components: :doc:`the server, workstations, and nodes </chef_overview>`. For more information about workstations, cookbooks, and nodes, see the documentation for the chef-client. |
| 11 | +**From the beginning:** :doc:`Overview (long) </chef_overview>` |
16 | 12 |
|
17 | | -The `Chef supermarket <https://supermarket.chef.io>`_ is the location in which community cookbooks are authored and maintained. Cookbooks that are part of the |supermarket| may be used by any |chef| user. |
| 13 | +**Key concepts:** :doc:`Workstations </workstation>` | :doc:`The Server </server_components>` | :doc:`Nodes </nodes>` | :doc:`Cookbooks </cookbooks>` | :doc:`Attributes </attributes>` | :doc:`Resources </resource>` | :doc:`Custom Resources </custom_resources>` | :doc:`Knife </knife>` |
18 | 14 |
|
| 15 | +**Using Ruby:** :doc:`Just Enough Ruby for Chef </ruby>` |
19 | 16 |
|
20 | | -Install, Upgrade |
21 | | -===================================================== |
22 | | -The |chef server| can be installed on new hardware. Existing server configurations may be upgraded to |chef server| 12.1. |
23 | | - |
24 | | -.. raw:: html |
25 | 17 |
|
26 | | - <a href="https://docs.chef.io/release/server_12-4/install_server.html">Install the Chef Server</a> </br> |
27 | | - <a href="https://docs.chef.io/release/server_12-4/upgrade_server.html">Upgrade the Chef Server</a> </br> |
| 18 | +The Workstation |
| 19 | +===================================================== |
28 | 20 |
|
29 | | -The |chef server| may be configured for high availability to enable failover on backend and load balancing on frontend machines. The following high availability scenarios are supported: |
| 21 | +**The Basics:** :doc:`About the Workstation </workstation>` | :doc:`The chef-repo </chef_repo>` | :doc:`Knife </knife>` | :doc:`Debug Recipes </debug>` |
30 | 22 |
|
31 | | -.. raw:: html |
| 23 | +**Install:** :doc:`Install the chef-client on a Workstation </install_dk>` | :doc:`Bootstrap a Node </install_bootstrap>` | :doc:`Create and Sync the chef-repo </chef_repo>` |
32 | 24 |
|
33 | | - <a href="https://docs.chef.io/release/server_12-4/install_server_ha_aws.html">High Availability: Amazon Web Services</a> </br> |
34 | | - <a href="https://docs.chef.io/release/server_12-4/install_server_ha_drbd.html">High Availability: DRBD</a> </br> |
| 25 | +**Knife:** :doc:`About Knife </knife>` | :doc:`Common Options </knife_common_options>` | :doc:`Working with Knife </knife_using>` --- **Commands:** :doc:`bootstrap </knife_bootstrap>` | :doc:`client </knife_client>` | :doc:`configure </knife_configure>` | :doc:`cookbook </knife_cookbook>` | :doc:`cookbook site </knife_cookbook_site>` | :doc:`data bag </knife_data_bag>` | :doc:`delete </knife_delete>` | :doc:`deps </knife_deps>` | :doc:`diff </knife_diff>` | :doc:`download </knife_download>` | :doc:`edit </knife_edit>` | :doc:`environment </knife_environment>` | :doc:`exec </knife_exec>` | :doc:`list </knife_list>` | :doc:`node </knife_node>` | :doc:`raw </knife_raw>` | :doc:`recipe list </knife_recipe_list>` | :doc:`role </knife_role>` | :doc:`search </knife_search>` | :doc:`serve </knife_serve>` | :doc:`show </knife_show>` | :doc:`ssh </knife_ssh>` | :doc:`ssl check </knife_ssl_check>` | :doc:`ssl fetch </knife_ssl_fetch>` | :doc:`status </knife_status>` | :doc:`tag </knife_tag>` | :doc:`upload </knife_upload>` | :doc:`user </knife_user>` | :doc:`xargs </knife_xargs>` |
35 | 26 |
|
| 27 | +**Settings:** :doc:`knife.rb </config_rb_knife>` | :doc:`metadata.rb </config_rb_metadata>` |
36 | 28 |
|
37 | | -.. note:: Premium features of the |chef server| must be installed and configured after the |chef server|. The |chef manage| must be installed before |reporting| because they share the same web user interface. The |chef manage|, |reporting|, and |chef replication| can all be installed using the `chef-server-ctl install <https://docs.chef.io/release/server_12-4/ctl_chef_server.html#install>`_ command. |
| 29 | +**Tools:** :doc:`chef-shell (executable) </ctl_chef_shell>` | :doc:`chef-apply (executable) </ctl_chef_apply>` |
38 | 30 |
|
39 | 31 |
|
40 | | -Manage the Chef Server |
41 | | -===================================================== |
42 | | -The |chef server| can be managed in the following ways: |
43 | | - |
44 | | -.. raw:: html |
45 | | - |
46 | | - <a href="https://docs.chef.io/runbook.html">Runbook</a> </br> |
47 | | - <a href="https://docs.chef.io/release/server_12-4/server_backup_restore.html">Backup / Restore</a> </br> |
48 | | - <a href="https://docs.chef.io/release/server_12-4/server_data.html">Data</a> </br> |
49 | | - <a href="https://docs.chef.io/release/server_12-4/server_firewalls_and_ports.html">Firewalls and Ports</a> </br> |
50 | | - <a href="https://docs.chef.io/release/server_12-4/server_high_availability.html">High Availability</a> </br> |
51 | | - <a href="https://docs.chef.io/release/server_12-4/server_logs.html">Log Files</a> </br> |
52 | | - <a href="https://docs.chef.io/release/server_12-4/server_monitor.html">Monitor</a> </br> |
53 | | - <a href="https://docs.chef.io/release/server_12-4/server_orgs.html">Organizations, Groups, and Users</a> </br> |
54 | | - <a href="https://docs.chef.io/release/server_12-4/server_replication.html">Replication</a> </br> |
55 | | - <a href="https://docs.chef.io/release/server_12-4/server_security.html">Security</a> </br> |
56 | | - <a href="https://docs.chef.io/release/server_12-4/server_services.html">Services</a> </br> |
57 | | - <a href="https://docs.chef.io/release/server_12-4/server_tuning.html">Server Tuning</a> </br> |
58 | | - |
59 | | - |
60 | | -Management Console |
61 | | ------------------------------------------------------ |
62 | | -The |chef manage| provides a web user interface with access to objects, such as nodes and cookbooks, through role-based access control: |
63 | | - |
64 | | -.. raw:: html |
65 | | - |
66 | | - <a href="https://docs.chef.io/release/server_12-4/server_manage_clients.html">Manage Clients</a> </br> |
67 | | - <a href="https://docs.chef.io/release/server_12-4/server_manage_cookbooks.html">Manage Cookbooks</a> </br> |
68 | | - <a href="https://docs.chef.io/release/server_12-4/server_manage_data_bags.html">Manage Data Bags</a> </br> |
69 | | - <a href="https://docs.chef.io/release/server_12-4/server_manage_environments.html">Manage Environments</a> </br> |
70 | | - <a href="https://docs.chef.io/release/server_12-4/server_manage_nodes.html">Manage Nodes</a> </br> |
71 | | - <a href="https://docs.chef.io/release/server_12-4/server_manage_reports.html">Manage Reports</a> </br> |
72 | | - <a href="https://docs.chef.io/release/server_12-4/server_manage_roles.html">Manage Roles</a> </br> |
73 | | - |
74 | | -Reference |
| 32 | +The Nodes |
75 | 33 | ===================================================== |
76 | | -This section contains links to topics about configuration files, command-line tools, and APIs that are used by the |chef server| and its premium features. |
| 34 | +**The Basics:** :doc:`About Nodes </nodes>` | :doc:`chef-client (agent) </chef_client>` | :doc:`The chef-client Run </chef_client>` | :doc:`Chef Solo </chef_solo>` | :doc:`Debug Recipes </debug>` |
77 | 35 |
|
78 | | -**Configuration Files** |
| 36 | +**Install:** :doc:`Install the chef-client on a Node (Bootstrap) </install_bootstrap>` and :doc:`knife bootstrap </knife_bootstrap>` | :doc:`Install the chef-client on Windows </install_windows>` | :doc:`Download the chef-client with Omnitruck API </api_omnitruck>` |
79 | 37 |
|
80 | | -.. raw:: html |
| 38 | +.. include:: ../../includes_chef/includes_chef_index_ohai.rst |
81 | 39 |
|
82 | | - <a href="https://docs.chef.io/release/server_12-4/config_rb_server.html">chef-server.rb</a> </br> |
83 | | - <a href="https://docs.chef.io/release/server_12-4/config_rb_manage.html">manage.rb</a> </br> |
| 40 | +**Settings:** :doc:`client.rb </config_rb_client>` | :doc:`solo.rb </config_rb_solo>` |
84 | 41 |
|
85 | | -**Command-line Tools** |
| 42 | +**Command-line Tools:** :doc:`chef-client (executable) </ctl_chef_client>` | :doc:`chef-solo (executable) </ctl_chef_solo>` | :doc:`chef-shell (executable) </ctl_chef_shell>` |
| 43 | + |
| 44 | +Cookbooks |
| 45 | +===================================================== |
| 46 | +**The Basics:** :doc:`About Cookbooks </cookbooks>` | :doc:`About Recipes </recipes>` | :doc:`About Attribute Files </attributes>` | :doc:`Handlers </handlers>` | `Popular Cookbooks <https://github.com/chef-cookbooks>`_ |
86 | 47 |
|
87 | | -.. raw:: html |
| 48 | +**Custom Resources:** :doc:`About Custom Resources </custom_resources>` |
88 | 49 |
|
89 | | - <a href="https://docs.chef.io/release/server_12-4/ctl_chef_server.html">chef-server-ctl</a> </br> |
90 | | - <a href="https://docs.chef.io/release/server_12-4/ctl_opscode_expander.html">opscode-expander-ctl</a> </br> |
| 50 | +**Other Cookbook Components:** :doc:`About Definitions </definitions>` | :doc:`About Files </files>` | :doc:`About Libraries </libraries>` | :doc:`About Cookbook Metadata </cookbook_repo>` | :doc:`About Templates </templates>` | :doc:`About Versions </cookbook_versions>` |
91 | 51 |
|
92 | | -**APIs** |
| 52 | +**The Recipe DSL:** :doc:`About the Recipe DSL </dsl_recipe>` --- **Methods:** `attribute? <https://docs.chef.io/release/12-4/dsl_recipe.html#attribute>`_ | `control <https://docs.chef.io/release/12-4/dsl_recipe.html#control>`_ | `control_group <https://docs.chef.io/release/12-4/dsl_recipe.html#control_group>`_ | `cookbook_name <https://docs.chef.io/release/12-4/dsl_recipe.html#cookbook-name>`_ | `data_bag <https://docs.chef.io/release/12-4/dsl_recipe.html#data-bag>`_ | `data_bag_item <https://docs.chef.io/release/12-4/dsl_recipe.html#data-bag-item>`_ | `platform? <https://docs.chef.io/release/12-4/dsl_recipe.html#platform>`_ | `platform_family? <https://docs.chef.io/release/12-4/dsl_recipe.html#platform-family>`_ | `reboot_pending <https://docs.chef.io/release/12-4/dsl_recipe.html#reboot-pending>`_ | `recipe_name <https://docs.chef.io/release/12-4/dsl_recipe.html#recipe-name>`_ | `registry_data_exists? <https://docs.chef.io/release/12-4/dsl_recipe.html#registry-data-exists>`_ | `registry_get_subkeys <https://docs.chef.io/release/12-4/dsl_recipe.html#registry-get-subkeys>`_ | `registry_get_values <https://docs.chef.io/release/12-4/dsl_recipe.html#registry-get-values>`_ | `registry_has_subkeys? <https://docs.chef.io/release/12-4/dsl_recipe.html#registry-has-subkeys>`_ | `registry_key_exists? <https://docs.chef.io/release/12-4/dsl_recipe.html#registry-key-exists>`_ | `registry_value_exists? <https://docs.chef.io/release/12-4/dsl_recipe.html#registry-value-exists>`_ | `resources <https://docs.chef.io/release/12-4/dsl_recipe.html#resources>`_ | `search <https://docs.chef.io/release/12-4/dsl_recipe.html#search>`_ | `shell_out <https://docs.chef.io/release/12-4/dsl_recipe.html#shell-out>`_ | `shell_out! <https://docs.chef.io/release/12-4/dsl_recipe.html#id2>`_ | `shell_out_with_systems_locale <https://docs.chef.io/release/12-4/dsl_recipe.html#shell-out-with-systems-locale>`_ | `tag <https://docs.chef.io/release/12-4/dsl_recipe.html#tag-tagged-untag>`_ | `tagged? <https://docs.chef.io/release/12-4/dsl_recipe.html#tag-tagged-untag>`_ | `untag <https://docs.chef.io/release/12-4/dsl_recipe.html#tag-tagged-untag>`_ | `value_for_platform <https://docs.chef.io/release/12-4/dsl_recipe.html#value-for-platform>`_ | `value_for_platform_family <https://docs.chef.io/release/12-4/dsl_recipe.html#value-for-platform-family>`_ | `Windows Platform Helpers <https://docs.chef.io/release/12-4/dsl_recipe.html#helpers>`_ |
93 | 53 |
|
94 | | -.. raw:: html |
| 54 | +**Resources:** :doc:`About Resources </resource>` | :doc:`Common Functionality </resource_common>` --- :doc:`apt_package </resource_apt_package>` | :doc:`bash </resource_bash>` | :doc:`batch </resource_batch>` | :doc:`bff_package </resource_bff_package>` | :doc:`breakpoint </resource_breakpoint>` | :doc:`chef_gem </resource_chef_gem>` | :doc:`chef_handler </resource_chef_handler>` | :doc:`cookbook_file </resource_cookbook_file>` | :doc:`cron </resource_cron>` | :doc:`deploy </resource_deploy>` | :doc:`directory </resource_directory>` | :doc:`dpkg_package </resource_dpkg_package>` | :doc:`dsc_resource </resource_dsc_resource>` | :doc:`dsc_script </resource_dsc_script>` | :doc:`easy_install_package </resource_easy_install_package>` | :doc:`env </resource_env>` | :doc:`erl_call </resource_erlang_call>` | :doc:`execute </resource_execute>` | :doc:`file </resource_file>` | :doc:`gem_package </resource_gem_package>` | :doc:`git </resource_git>` | :doc:`group </resource_group>` | :doc:`homebrew_package </resource_homebrew_package>` | :doc:`http_request </resource_http_request>` | :doc:`ifconfig </resource_ifconfig>` | :doc:`link </resource_link>` | :doc:`log </resource_log>` | :doc:`mdadm </resource_mdadm>` | :doc:`mount </resource_mount>` | :doc:`ohai </resource_ohai>` | :doc:`package </resource_package>` | :doc:`powershell_script </resource_powershell_script>` | :doc:`reboot </resource_reboot>` | :doc:`registry_key </resource_registry_key>` | :doc:`remote_directory </resource_remote_directory>` | :doc:`remote_file </resource_remote_file>` | :doc:`route </resource_route>` | :doc:`rpm_package </resource_rpm_package>` | :doc:`ruby_block </resource_ruby_block>` | :doc:`script </resource_script>` | :doc:`service </resource_service>` | :doc:`subversion </resource_subversion>` | :doc:`template </resource_template>` | :doc:`user </resource_user>` | :doc:`windows_package </resource_windows_package>` | :doc:`windows_service </resource_windows_service>` | :doc:`yum_package </resource_yum>` |
95 | 55 |
|
96 | | - <a href="https://docs.chef.io/release/server_12-4/api_chef_server.html">Chef Server API</a> </br> |
97 | | - <a href="https://docs.chef.io/release/server_12-4/api_push_jobs.html">Push Jobs API</a> </br> |
98 | 56 |
|
99 | | -.. Hide the TOC from this file. Just keep these alphabetized please. |
| 57 | +.. Hide the TOC from this file. |
100 | 58 |
|
101 | 59 | .. toctree:: |
102 | 60 | :hidden: |
103 | 61 |
|
104 | 62 | api_omnitruck |
105 | 63 | attributes |
106 | | - auth |
107 | 64 | chef_overview |
| 65 | + chef_client |
| 66 | + chef_repo |
108 | 67 | chef_search |
109 | | - config_rb_chef_server |
110 | | - config_rb_server |
111 | | - config_rb_server_optional_settings |
112 | | - config_rb_manage |
113 | | - ctl_chef_server |
114 | | - ctl_opscode_expander |
115 | | - install_server |
116 | | - install_server_ha_aws |
117 | | - install_server_ha_drbd |
118 | | - install_server_post |
119 | | - install_server_pre |
120 | | - manage |
| 68 | + chef_solo |
| 69 | + config_rb_client |
| 70 | + config_rb_knife |
| 71 | + config_rb_knife_optional_settings |
| 72 | + config_rb_metadata |
| 73 | + config_rb_solo |
| 74 | + cookbook_repo |
| 75 | + cookbook_versions |
| 76 | + cookbooks |
| 77 | + ctl_chef_apply |
| 78 | + ctl_chef_client |
| 79 | + ctl_chef_shell |
| 80 | + ctl_chef_solo |
| 81 | + custom_resources |
| 82 | + debug |
| 83 | + definitions |
| 84 | + dsl_recipe |
| 85 | + files |
| 86 | + handlers |
| 87 | + install_bootstrap |
| 88 | + install_dk |
| 89 | + install_windows |
| 90 | + knife |
| 91 | + knife_common_options |
| 92 | + knife_bootstrap |
| 93 | + knife_client |
| 94 | + knife_configure |
| 95 | + knife_cookbook |
| 96 | + knife_cookbook_site |
| 97 | + knife_data_bag |
| 98 | + knife_delete |
| 99 | + knife_deps |
| 100 | + knife_diff |
| 101 | + knife_download |
| 102 | + knife_edit |
| 103 | + knife_environment |
| 104 | + knife_exec |
| 105 | + knife_list |
| 106 | + knife_node |
| 107 | + knife_raw |
| 108 | + knife_recipe_list |
| 109 | + knife_role |
| 110 | + knife_search |
| 111 | + knife_serve |
| 112 | + knife_show |
| 113 | + knife_ssh |
| 114 | + knife_ssl_check |
| 115 | + knife_ssl_fetch |
| 116 | + knife_status |
| 117 | + knife_tag |
| 118 | + knife_upload |
| 119 | + knife_user |
| 120 | + knife_using |
| 121 | + knife_xargs |
| 122 | + libraries |
| 123 | + nodes |
| 124 | + proxies |
| 125 | + recipes |
121 | 126 | release_notes |
122 | | - server_backup_restore |
| 127 | + resource |
| 128 | + resource_apt_package |
| 129 | + resource_bash |
| 130 | + resource_batch |
| 131 | + resource_bff_package |
| 132 | + resource_breakpoint |
| 133 | + resource_chef_gem |
| 134 | + resource_chef_handler |
| 135 | + resource_common |
| 136 | + resource_cookbook_file |
| 137 | + resource_cron |
| 138 | + resource_csh |
| 139 | + resource_deploy |
| 140 | + resource_directory |
| 141 | + resource_dpkg_package |
| 142 | + resource_dsc_resource |
| 143 | + resource_dsc_script |
| 144 | + resource_easy_install_package |
| 145 | + resource_env |
| 146 | + resource_erlang_call |
| 147 | + resource_execute |
| 148 | + resource_file |
| 149 | + resource_freebsd_package |
| 150 | + resource_gem_package |
| 151 | + resource_git |
| 152 | + resource_group |
| 153 | + resource_homebrew_package |
| 154 | + resource_http_request |
| 155 | + resource_ifconfig |
| 156 | + resource_ips_package |
| 157 | + resource_link |
| 158 | + resource_log |
| 159 | + resource_macports_package |
| 160 | + resource_mdadm |
| 161 | + resource_mount |
| 162 | + resource_ohai |
| 163 | + resource_openbsd_package |
| 164 | + resource_package |
| 165 | + resource_pacman_package |
| 166 | + resource_paludis_package |
| 167 | + resource_perl |
| 168 | + resource_portage_package |
| 169 | + resource_powershell_script |
| 170 | + resource_python |
| 171 | + resource_reboot |
| 172 | + resource_registry_key |
| 173 | + resource_remote_directory |
| 174 | + resource_remote_file |
| 175 | + resource_route |
| 176 | + resource_rpm_package |
| 177 | + resource_ruby |
| 178 | + resource_ruby_block |
| 179 | + resource_script |
| 180 | + resource_service |
| 181 | + resource_smartos_package |
| 182 | + resource_solaris_package |
| 183 | + resource_subversion |
| 184 | + resource_template |
| 185 | + resource_user |
| 186 | + resource_windows_package |
| 187 | + resource_windows_service |
| 188 | + resource_yum |
| 189 | + ruby |
123 | 190 | server_components |
124 | | - server_data |
125 | | - server_firewalls_and_ports |
126 | | - server_high_availability |
127 | | - server_ldap |
128 | | - server_logs |
129 | | - server_manage_clients |
130 | | - server_manage_cookbooks |
131 | | - server_manage_data_bags |
132 | | - server_manage_environments |
133 | | - server_manage_nodes |
134 | | - server_manage_reports |
135 | | - server_manage_roles |
136 | | - server_monitor |
137 | | - server_orgs |
138 | | - server_replication |
139 | | - server_security |
140 | | - server_services |
141 | | - server_tuning |
142 | | - server_users |
143 | | - upgrade_server |
144 | | - upgrade_server_open_source_notes |
| 191 | + templates |
| 192 | + workstation |
0 commit comments