Chef Demo Repo
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

You can watch a video of this demo here:

  • Install Git

    sudo yum install git

    Git will be used to download the cookbooks and updates to the configuration.

  • Check out this repo to the /var/chef directory

    sudo git clone /var/chef

    This command will pull down the repository from GitHub and put it where chef can find it.

  • Install Chef with:

    sudo true && curl -L | sudo bash

    This command runs Opscodes Omnibus installer.

  • Run Chef:

    sudo chef-solo -j /var/chef/dna.json

    And finally this the command that runs chef. dna.json simply lists the recipes we want to install on this machine.