summaryrefslogtreecommitdiff
path: root/tests/gunicorn.pp
diff options
context:
space:
mode:
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',
+}