Refactor the web app cookbook

In this tutorial, you'll perform a basic refactoring exercise. You'll start by writing ChefSpec tests to verify an existing database configuration. Then you'll refactor the database configuration and rerun your tests to verify the configuration still does what you expect.

Choose your server environment

Click on one of the buttons below to select the kind of system you want to work with.

  We currently provide content for Red Hat Enterprise Linux and CentOS. You can apply what you learn to other platforms. In the future we'll add content for Windows Server and Ubuntu.

Here you'll work with Red Hat Enterprise Linux 7 or CentOS 7.