Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Configuration Management with Chef-Solo

You're reading from   Configuration Management with Chef-Solo A comprehensive guide to get you up and running with Chef-Solo.

Arrow left icon
Product type Paperback
Published in Jun 2014
Publisher
ISBN-13 9781783982462
Length 116 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Naveed ur Rahman Naveed ur Rahman
Author Profile Icon Naveed ur Rahman
Naveed ur Rahman
Arrow right icon
View More author details
Toc

Recommended ways to use Chef-Solo


In many cases, we need some default system configuration on many servers. Instead of repeating the same code again and again, it is always better to use roles.

As we have an example of web_server in the previous chapter, we can create roles for web servers, databases, and so on, depending on the nature of the infrastructure.

Generally, we come across this scenario when things work perfectly when we are developing applications, but in a live environment, some bugs always show up. Most of the time, these kinds of problems occur because of the inconsistent behavior of the production and staging environments. It is true that we cannot overcome all the issues with Chef, but we can avoid the problems by checking for issues at every step.

The following two methods are usually implemented to develop cookbooks and recipes:

  • To finish the application and start writing the recipe: The problem with this approach is that during the development of an application, you install...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime