


Accepts a hash of 'key': 'value' pairs.Īllows setting the gunicorn idle worker process time before being killed. Set the application module name for gunicorn to load when not using Django.Īllows setting environment variables for the gunicorn service. Examples install python from system python class.

Installs and manages python, python-dev and gunicorn. Python::Version: Match all valid versions for python.Python::Venv::PipVersion: A version type to ensure a specific Pip version in a virtual env.Python::Umask: Match valid umask for python.Python::Provider: Match all valid provider for python.Python::Package::Ensure: Match all valid package ensures for python.Python::Loglevel: Match all valid loglevels for python.python::requirements: Installs and manages Python packages from requirements file.python::pyvenv: Create a Python3 virtualenv using pyvenv.python::pip: Installs and manages packages from pip.python::gunicorn: Manages Gunicorn virtual hosts.python::dotfile: Manages any python dotfiles with a simple config hash.python::params: The python Module default configuration settings.python::install: Installs core python packages.python::config: Optionally installs the gunicorn service.python::pip::bootstrap: allow to bootstrap pip when python is managed from other module.python: Installs and manages python, python-dev and gunicorn.Reference Table of Contents Classes Public Classes Of the collection you want to use (e.g., 'python27', 'python33', or 'rh-python34'). To use this module with Linux distributions in the Red Hat family and python distributionsįrom, set python::provider to 'rhscl' and python::version to the name python::python_pyvenvs : "/opt/env1" : version : "system" "/opt/env2" : version : "system" python::python_pips : "nose" : virtualenv : "/opt/env1" "coverage" : virtualenv : "/opt/env2" python::python_dotfiles : "/var/lib/jenkins/.pip/pip.conf" : config : global : index-url : "" extra-index-url : "" Using SCL packages from RedHat or CentOS The following exampleĬreates two python3 virtualenvs. This module supports configuration through hiera. If contributing, this is updated with bundle exec rake strings:generate \ hiera configuration Usageįor class usage refer to the Reference. Please note: The module stankevich/python has been deprecated and is now available under Vox Pupuli: puppet/python. Puppet module for installing and managing python, pip, virtualenvs and Gunicorn virtual hosts.
