summaryrefslogtreecommitdiff
path: root/tests/gunicorn.pp
diff options
context:
space:
mode:
authorSergey Stankevich <sergey.stankevich@gmail.com>2012-09-09 18:36:30 -0400
committerSergey Stankevich <sergey.stankevich@gmail.com>2012-09-09 18:36:30 -0400
commited137893babebabdfdb5adf44d1a52272093ce8b (patch)
treef611108dc849fe8f4372aac981d7e242d59b957b /tests/gunicorn.pp
Initial import
Diffstat (limited to 'tests/gunicorn.pp')
-rw-r--r--tests/gunicorn.pp14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/gunicorn.pp b/tests/gunicorn.pp
new file mode 100644
index 0000000..c081fd6
--- /dev/null
+++ b/tests/gunicorn.pp
@@ -0,0 +1,14 @@
+class { 'python':
+ version => 'system',
+ dev => true,
+ virtualenv => true,
+}
+
+python::gunicorn { 'vhost':
+ ensure => present,
+ virtualenv => '/var/www/project1',
+ mode => 'wsgi',
+ dir => '/var/www/project1/current',
+ bind => 'unix:/tmp/gunicorn.socket',
+ environment => 'prod',
+}