Changes between Version 3 and Version 4 of ChefonDETER
- Timestamp:
- Jul 14, 2014 12:42:55 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ChefonDETER
v3 v4 7 7 The workflow for a running system is recipes, roles, and chef code is written on a workstation and added to a chef repository. The person on the workstation then pushes updates to the chef server. The client then contacts the chef server for updates, gets the updates, and applies them locally. {{{Knife}}}, on a workstation, can also install Chef-client (and other packages) directly on a client. If this is done the flow becomes: 1) workstation pushes update to the server, 2) the workstation installs Chef on a client and gives it an initial role or list of recipes, 3) the newly installed {{{chef-client}}} then contacts the chef server and downloads the recipes and executes them, configuring the client node. 8 8 9 9 Installing Chef: 10 Swap in an experiment with at least two Ubuntu 12.04 nodes, one of which will be the Chef server and one will be the client. 10 11 * Chef Server 12 {{{ 13 > ssh server 14 > # if you don't want to hammer NFS, copy deb to /tmp first. 15 > sudo dpkg -i /share/chef/chef-server_11.0.12-1.ubuntu.12.04_amd64.deb 16 > sudo chef-server-ctl reconfigure 17 > sudo chef-server-ctl test 18 }}} 11 19 * Chef Workstation 20 {{{ 21 # TBD 22 }}} 12 23 * Chef Client(s) 24 {{{ 25 # TBD 26 }}} 13 27 14 28 = Running Chef on DETER =