diff options
author | Sergey Stankevich <sergey@stankevi.ch> | 2012-11-06 13:01:55 -0800 |
---|---|---|
committer | Sergey Stankevich <sergey@stankevi.ch> | 2012-11-06 13:01:55 -0800 |
commit | 94d9ca52b531c76949bddfe45c5402ecb2586ab8 (patch) | |
tree | 2779f2eb95a79a071bdee02fd4bc09f053bfea6d /README.md | |
parent | 91b595de937e938807d942d650dde3cd5f45f2ec (diff) | |
parent | e7f975a20639d1e3adbfa85f956485238c040506 (diff) |
Merge pull request #2 from mfournier/gunicorn_and_virtualenv_additions
Gunicorn and virtualenv additions
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -64,11 +64,14 @@ Creates Python virtualenv. **proxy** — Proxy server to use for outbound connections. Default: none +**systempkgs** — Copy system site-packages into virtualenv. Default: don't + python::virtualenv { '/var/www/project1': ensure => present, version => 'system', requirements => '/var/www/project1/requirements.txt', proxy => 'http://proxy.domain.com:3128', + systempkgs => true, } ### python::gunicorn @@ -87,6 +90,8 @@ Manages Gunicorn virtual hosts. **environment** — Set ENVIRONMENT variable. Default: none +**template** — Which ERB template to use. Default: python/gunicorn.erb + python::gunicorn { 'vhost': ensure => present, virtualenv => '/var/www/project1', @@ -94,8 +99,11 @@ Manages Gunicorn virtual hosts. dir => '/var/www/project1/current', bind => 'unix:/tmp/gunicorn.socket', environment => 'prod', + template => 'python/gunicorn.erb', } ## Authors [Sergey Stankevich](https://github.com/stankevich) +[Ashley Penney](https://github.com/apenney) +[Marc Fournier](https://github.com/mfournier) |