Changes between Version 3 and Version 4 of ChefonDETER


Ignore:
Timestamp:
Jul 14, 2014 12:42:55 PM (10 years ago)
Author:
Geoff Lawler
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ChefonDETER

    v3 v4  
    77The 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.
    88
    9 
     9Installing Chef:
     10Swap 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. 
    1011 * 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}}}
    1119 * Chef Workstation
     20{{{
     21# TBD
     22}}}
    1223 * Chef Client(s)
     24{{{
     25# TBD
     26}}}
    1327
    1428= Running Chef on DETER =