uwsgi

Manage uwsgi through emporer mode
cwood

cwood

cwood

8,029 downloads

7,851 latest version

4.5 quality score

Version information

  • 0.2.2 (latest)
  • 0.2.1
  • 0.2.0
released Jul 3rd 2019
This version is compatible with:
  • Debian
    ,
    RedHat

Start using this module

Documentation

cwood/uwsgi — version 0.2.2 Jul 3rd 2019

Uwsgi Puppet Module

Build Status Puppet Forge Version Puppet Forge Score

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with uwsgi
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

Overview

This module will support uwsgi through a emporer mode on both Debian and Redhat based families. This is actully a fork of Engage/puppet-uwsgi with some updates to overall style, unit testing and updating to include a more modern design pattern. This also includes support for uwsgi for-readline and removes having to setup support for redhat manually.

Module Description

Setup and configure uwsgi in a emporer mode with support for vassels.

Setup

What uwsgi affects

  • uwsgi, /etc/uwsgi.ini, and a app folder to set your uwsgi vassals

Beginning with uwsgi

To setup it should be as easy as include uwsgi this setup does assume you are managing python through a different module and that you have pip, and python development packages installed.

For a good python module checkout stankevich/python

To install apps you can call it via hiera with

---
uwsgi::apps:
    myapp:
        application_options:
            virtualenv: /var/virtualenvs/myapp
            chdir: /var/www/html/myapp
            master: true
            logto: /var/log/uwsgi/myapp.log
            ...

Usage

Put the classes, types, and resources for customizing, configuring, and doing the fancy stuff with your module here.

Reference

Here, list the classes, types, providers, facts, etc contained in your module. This section should include all of the under-the-hood workings of your module so people know what the module is touching on their system but don't need to mess with things. (We are working on automating this section!)

Limitations

Does not support zerg mode, also needs support for systemd based config files.

Development

To help you just need to fork the repository, and then do a bundle install , and bundle exec rake test. Every pull request will run through all rspec tests.