Version information
released Feb 3rd 2015
This version is compatible with:
- , ,
Start using this module
Add this module to your Puppetfile:
mod 'tracywebtech-appdeploy', '0.9.3'
Learn more about managing modules with a PuppetfileDocumentation
tracywebtech/appdeploy — version 0.9.3 Feb 3rd 2015
appdeploy
Overview
The appdeploy module helps Django deploys by:
- Installing compilation dependecies
- Setting up reverse proxy
- Configuring supervisor to manage the application execution
- Configuring gunicorn WSGI server
- Allowing the user to set a websocket proxy
Defines
appdeploy::django
appdeploy::django { 'myappname':
user => 'myuser',
directory => '/home/myuser/myappsrc',
proxy_hosts => [
'myappname.com',
'internal.myappname.com',
],
}
Parameters:
- user: user that will run the application it self. This user must have access to the source code in
directory
. - directory: where the application source code will be placed.
- proxy_hosts: the server_name(s) that Nginx will listen to and redirect requests to the deployed app.
Classes
Installs development libraries and headers to allow compilation of specific libraries.
Currently supporting:
- appdeploy::deps::postgresql: dependecies for
psycopg2
- appdeploy::deps::mysql: dependecies for
MySQL-python
- appdeploy::deps::lxml: dependecies for
lxml
- appdeploy::deps::scrapy: dependecies for
scrapy
Releases
Releases are published on Puppet Forge
Dependencies
- puppetlabs/apt (>= 1.0.0)
- puppetlabs/concat (>= 1.1.0)
- puppetlabs/stdlib (>= 4.1.0)
- jfryman/nginx (>= 0.2.2)
- tracywebtech/pip (>= 1.3.2)
- tracywebtech/puias (>= 0.1.3)
- tracywebtech/openssl (>= 0.1.0)
- tracywebtech/supervisor (>= 1.1.6)