Forge Home

uwsgi

Manage uwsgi through emporer mode

9,301 downloads

8,942 latest version

4.5 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.2.2 (latest)
  • 0.2.1
  • 0.2.0
released Nov 29th 2015
This version is compatible with:
  • ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'cwood-uwsgi', '0.2.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add cwood-uwsgi
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install cwood-uwsgi --version 0.2.2

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

cwood/uwsgi — version 0.2.2 Nov 29th 2015

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.