Version information
released Feb 25th 2015
This version is compatible with:
- Puppet 3.x
Start using this module
Add this module to your Puppetfile:
mod 'gajdaw-django_app', '0.3.0'
Learn more about managing modules with a PuppetfileDocumentation
gajdaw/django_app — version 0.3.0 Feb 25th 2015
Puppet Module
gajdaw/django_app
Table of Contents
Overview
The module to create virtual host for an application written in django.
The module exposes django_app::vhost
define that
easies the task of defining virtual hosts.
Setup
To install the module run:
sudo puppet install module gajdaw-django_app
Usage
Supposing that your application is stored in:
/home/vagrant/reptiles-django-app/reptiles/reptiles
To be more exact, the path to wsgi.py
file is supposed
to be:
/home/vagrant/reptiles-django-app/reptiles/reptiles/wsgi.py
If you want to run a virtual host available under
http://reptiles.lh
then use the following manifest:
include django_app
django_app::vhost { 'reptiles.lh':
docroot => '/home/vagrant/reptiles-django-app/reptiles/reptiles'
}
You will find more examples in examples/
directory.
Limitations
The module was tested on all the platforms that appear in metadata.json
.
Tests
Logs are available in gh-pages branch.
Dependencies
- puppetlabs/stdlib (>=4.5.0)
- puppetlabs/apache (>=1.3.0)
- gajdaw/diverse_functions (>=0.1.1)
- gajdaw/django (>=0.2.0)
Copyright (c) 2015 Włodzimierz Gajda Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.