Puppet Class: uwsgi::params
- Inherited by:
-
uwsgi
- Defined in:
- manifests/params.pp
Overview
Class: uwsgi::params
Default parameters for configuring and installing uwsgi
Authors:
-
Josh Smeaton <josh.smeaton@gmail.com>
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'manifests/params.pp', line 8
class uwsgi::params {
$package_name = 'uwsgi'
$package_ensure = 'installed'
$package_provider = 'pip'
$service_name = 'uwsgi'
$service_ensure = true
$service_enable = true
$service_provider = 'upstart'
$manage_service_file = true
$binary_directory = '/usr/sbin'
$config_file = '/etc/uwsgi.ini'
$tyrant = true
$install_pip = true
$install_python_dev = true
$log_file = '/var/log/uwsgi/uwsgi-emperor.log'
$log_rotate = 'no'
$python_pip = 'python-pip'
case $::osfamily {
redhat: {
$app_directory = '/etc/uwsgi.d'
$pidfile = '/var/run/uwsgi/uwsgi.pid'
$python_dev = 'python-devel'
$socket = '/var/run/uwsgi/uwsgi.socket'
}
default: {
$app_directory = '/etc/uwsgi/apps-enabled'
$pidfile = '/run/uwsgi/uwsgi.pid'
$python_dev = 'python-dev'
$socket = '/run/uwsgi/uwsgi.socket'
}
}
}
|