This document discusses how Chef is used to manage the infrastructure for a Rails application called Wuphf at SmartLogic. It describes the various environments (staging, beta, production), server roles (web, worker, database), and how Chef recipes are used to configure each component and ensure consistency across environments. A single "wuphf" cookbook contains recipes for common setup tasks, as well as specific recipes to configure the database, Redis, web servers, application code, and workers. Attributes are used to customize settings for each environment. Firewall and PostgreSQL configuration is tailored per node.
Related topics: