Changeset View
Changeset View
Standalone View
Standalone View
site-modules/profile/manifests/swh/deploy/deposit.pp
Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Lines | file {$media_root_directory: | ||||
group => $group, | group => $group, | ||||
mode => '2750', | mode => '2750', | ||||
} | } | ||||
::gunicorn::instance {'swh-deposit': | ::gunicorn::instance {'swh-deposit': | ||||
ensure => enabled, | ensure => enabled, | ||||
user => $user, | user => $user, | ||||
group => $group, | group => $group, | ||||
executable => 'swh.deposit.wsgi', | executable => 'django.core.wsgi.get_wsgi_application()', | ||||
environment => { | environment => { | ||||
'SWH_CONFIG_FILENAME' => $config_file, | 'SWH_CONFIG_FILENAME' => $config_file, | ||||
'DJANGO_SETTINGS_MODULE' => 'swh.deposit.settings.production', | 'DJANGO_SETTINGS_MODULE' => 'swh.deposit.settings.production', | ||||
}, | }, | ||||
settings => { | settings => { | ||||
bind => $backend_listen_address, | bind => $backend_listen_address, | ||||
workers => $backend_workers, | workers => $backend_workers, | ||||
worker_class => 'sync', | worker_class => 'sync', | ||||
▲ Show 20 Lines • Show All 171 Lines • Show Last 20 Lines |