summaryrefslogtreecommitdiff
path: root/tests/gunicorn.pp
blob: c32ea1a21df4436c0428f4d2f2b863ee8ce503f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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',
  template    => 'python/gunicorn.erb',
}