Puppet Class: uhosting::profiles::uwsgi::python

Defined in:
manifests/profiles/uwsgi/python.pp

Overview

Class: uhosting::profiles::uwsgi::python

Installs and manages Python together with uWSGI

Authors

Tobias Brunner <tobias.brunner@vshn.ch>

Copyright 2015 Tobias Brunner, VSHN AG



13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# File 'manifests/profiles/uwsgi/python.pp', line 13

class uhosting::profiles::uwsgi::python {

  package {
    'uwsgi-plugin-python':
      ensure  => installed,
      require => Package['uwsgi-core'];
    'uwsgi-plugin-python3':
      ensure  => installed,
      require => Package['uwsgi-core'];
  }

  class { '::python':
    version    => 'system',
    pip        => true,
    dev        => true,
    virtualenv => true,
    gunicorn   => false,
  } ->
  python::pip { 'uwsgitop': ensure => present }

}