55
66** Classes**
77
8+ _ Public Classes_
9+
810* [ ` python ` ] ( #python ) : Installs and manages python, python-dev, python-virtualenv and gunicorn.
911* [ ` python::config ` ] ( #pythonconfig ) : Optionally installs the gunicorn service
10- * [ ` python::install ` ] ( #pythoninstall ) : Installs core python packages
11- * [ ` python::params ` ] ( #pythonparams ) : The python Module default configuration settings.
12+
13+ _ Private Classes_
14+
15+ * ` python::install ` : Installs core python packages
16+ * ` python::params ` : The python Module default configuration settings.
1217
1318** Defined types**
1419
@@ -71,43 +76,39 @@ Default value: $python::params::version
7176
7277Data type: ` Enum['absent', 'present', 'latest'] `
7378
74- Desired installation state for python-pip. Boolean values are deprecated.
75- Allowed values: 'absent', 'present', 'latest'
79+ Desired installation state for python-pip.
7680
7781Default value: $python::params::pip
7882
7983##### ` dev `
8084
81- Data type: ` Any `
85+ Data type: ` Enum['absent', 'present', 'latest'] `
8286
83- Desired installation state for python-dev. Boolean values are deprecated.
84- Allowed values: 'absent', 'present', 'latest'
87+ Desired installation state for python-dev.
8588
8689Default value: $python::params::dev
8790
8891##### ` virtualenv `
8992
9093Data type: ` Enum['absent', 'present', 'latest'] `
9194
92- Desired installation state for python-virtualenv. Boolean values are deprecated
93- Allowed values: 'absent', 'present', 'latest
95+ Desired installation state for python-virtualenv.
9496
9597Default value: $python::params::virtualenv
9698
9799##### ` gunicorn `
98100
99101Data type: ` Enum['absent', 'present', 'latest'] `
100102
101- Desired installation state for Gunicorn. Boolean values are deprecated.
102- Allowed values: 'absent', 'present', 'latest'
103+ Desired installation state for Gunicorn.
103104
104105Default value: $python::params::gunicorn
105106
106107##### ` manage_gunicorn `
107108
108109Data type: ` Boolean `
109110
110- Allow Installation / Removal of Gunicorn. Default: true
111+ Allow Installation / Removal of Gunicorn.
111112
112113Default value: $python::params::manage_gunicorn
113114
@@ -116,7 +117,6 @@ Default value: $python::params::manage_gunicorn
116117Data type: ` Optional[Enum['pip', 'scl', 'rhscl', 'anaconda', '']] `
117118
118119What provider to use for installation of the packages, except gunicorn and Python itself.
119- Allowed values: 'pip'
120120
121121Default value: $python::params::provider
122122
@@ -220,22 +220,6 @@ Optionally installs the gunicorn service
220220include python::config
221221```
222222
223- ### python::install
224-
225- Installs core python packages
226-
227- #### Examples
228-
229- #####
230-
231- ``` puppet
232- include python::install
233- ```
234-
235- ### python::params
236-
237- The python Module default configuration settings.
238-
239223## Defined types
240224
241225### python::dotfile
@@ -375,10 +359,9 @@ Default value: `false`
375359
376360##### ` mode `
377361
378- Data type: ` Any `
362+ Data type: ` Enum['wsgi', 'django'] `
379363
380364Gunicorn mode.
381- wsgi|django. Default: wsgi
382365
383366Default value: 'wsgi'
384367
@@ -413,27 +396,22 @@ Default value: `false`
413396Data type: ` Any `
414397
415398Set the application module name for gunicorn to load when not using Django.
416- Default: app: app
417399
418400Default value: 'app: app '
419401
420402##### ` osenv `
421403
422404Data type: ` Any `
423405
424- Allows setting environment variables for the gunicorn service. Accepts a
425- hash of 'key': 'value' pairs.
426- Default: false
406+ Allows setting environment variables for the gunicorn service. Accepts a hash of 'key': 'value' pairs.
427407
428408Default value: ` false `
429409
430410##### ` timeout `
431411
432412Data type: ` Any `
433413
434- Allows setting the gunicorn idle worker process time before being killed.
435- The unit of time is seconds.
436- Default: 30
414+ Allows setting the gunicorn idle worker process time before being killed. The unit of time is seconds.
437415
438416Default value: 30
439417
@@ -723,7 +701,7 @@ Default value: present
723701
724702Data type: ` Any `
725703
726- Python version to use. Default: system default
704+ Python version to use.
727705
728706Default value: 'system'
729707
@@ -771,7 +749,7 @@ Default value: '0755'
771749
772750Data type: ` Any `
773751
774- Specifies the PATH variable. Default: [ '/bin', '/usr/bin', '/usr/sbin' ]
752+ Specifies the PATH variable.
775753
776754Default value: [ '/bin', '/usr/bin', '/usr/sbin', '/usr/local/bin' ]
777755
0 commit comments