O'Reilly logo

Configuration Management with Chef-Solo by Naveed ur Rahman

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

Restarting services and server handling

We have used uWSGI with Nginx to deploy a Django application. A uWSGI project aims at developing a full stack to build hosting services. It has a pluggable architecture to support more platforms, and a common configuration style. To deploy the Django application, we have used the .ini file to save all the configurations of the Python application.

We'll not go into the details of a uWSGI application now. Please refer to the following uWSGI documentation for detailed information:

http://uwsgi-docs.readthedocs.org/en/latest/

An interesting bit of our recipe is to restart services with an upstream script. A service tells Chef-Solo to use one of the OS-specific providers. First, we create a .conf file in the ...

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