Book Image

Configuration Management with Chef-Solo

By : Naveed ur Rahman
Book Image

Configuration Management with Chef-Solo

By: Naveed ur Rahman

Overview of this book

Table of Contents (13 chapters)

Summary


In this chapter, we continued with WordPress recipes and looked into the use of files. We also modified the default database settings with templates and set up a new server by providing database information with templates.

We had a detailed discussion on templates, template variables, and also fetched the values from default attributes and data bags. Moreover, we installed tools to work with data bags using Chef-Solo.

After the completion of the WordPress recipe, we started with a Python/Django application recipe and looked at the usage of roles. We then developed the web_server role to deploy Nginx and checked out cases that require the deployment of Nginx repeatedly without code repetition.

Finally, we also delved into how our server will be ready and how to restart the service if the application process gets killed for some reason.