Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Configuration Management with Chef-Solo
  • Table Of Contents Toc
  • Feedback & Rating feedback
Configuration Management with Chef-Solo

Configuration Management with Chef-Solo

By : Rahman
2 (1)
close
close
Configuration Management with Chef-Solo

Configuration Management with Chef-Solo

2 (1)
By: Rahman

Overview of this book

This is a step-by-step guide, full of hands-on examples of real-world deployment tasks. Each topic is explained and placed in context, while also pointing out the key details of the concepts used. This book is aimed at system administrators and system engineers who have an understanding of configuration management tools and infrastructure. For novice administrators, it contains easy-to-use application recipes to get started immediately.
Table of Contents (8 chapters)
close
close

Roles


The term "role" is used to define certain patterns and processes of configuration on a single or several nodes. Imagine that if your application has high traffic and one server is not able to handle all requests, you might need another server to handle requests. You need Apache (or any other web server) across all nodes. In this case, you can create the role name Web Server, and it contains the run list of the Apache server with site configurations. Roles are defined in the same way as the normal recipes with run_list. Similarly, we can create a database role to set up a database server.

Tip

Note that the use of roles with the Chef server is controversial. It's fine to use them with Chef-Solo.

Let's have a look at some real-world examples.

Now, we will create a cookbook to set up a Python/Django app with Nginx and uWSGI. We will not explain each bit of code as we did in the previous example, assuming that now we have an understanding of the recipe structure and the important code blocks...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Configuration Management with Chef-Solo
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon