O'Reilly logo

Mastering Chef by Mayank Joshi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Data Bags and Templates

So we have decided to push the required configuration through Chef into our infrastructure. However, any configuration management system gets true power once it allows us to provision different kinds of machines using a minimal piece of code. Imagine having different types of systems in your infrastructure such as dev machines running over laptops, staging environments that are set up on virtual machines, and production environments running on a beefy hardware. It's quite likely that for one class of application, the configuration for these three different sets of machines might be different. However, in most cases, the amount of difference between these configurations is minimal. For example, let's say you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required