5
5
6
6
** Classes**
7
7
8
+ _ Public Classes_
9
+
8
10
* [ ` python ` ] ( #python ) : Installs and manages python, python-dev, python-virtualenv and gunicorn.
9
11
* [ ` 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.
12
17
13
18
** Defined types**
14
19
@@ -71,43 +76,39 @@ Default value: $python::params::version
71
76
72
77
Data type: ` Enum['absent', 'present', 'latest'] `
73
78
74
- Desired installation state for python-pip. Boolean values are deprecated.
75
- Allowed values: 'absent', 'present', 'latest'
79
+ Desired installation state for python-pip.
76
80
77
81
Default value: $python::params::pip
78
82
79
83
##### ` dev `
80
84
81
- Data type: ` Any `
85
+ Data type: ` Enum['absent', 'present', 'latest'] `
82
86
83
- Desired installation state for python-dev. Boolean values are deprecated.
84
- Allowed values: 'absent', 'present', 'latest'
87
+ Desired installation state for python-dev.
85
88
86
89
Default value: $python::params::dev
87
90
88
91
##### ` virtualenv `
89
92
90
93
Data type: ` Enum['absent', 'present', 'latest'] `
91
94
92
- Desired installation state for python-virtualenv. Boolean values are deprecated
93
- Allowed values: 'absent', 'present', 'latest
95
+ Desired installation state for python-virtualenv.
94
96
95
97
Default value: $python::params::virtualenv
96
98
97
99
##### ` gunicorn `
98
100
99
101
Data type: ` Enum['absent', 'present', 'latest'] `
100
102
101
- Desired installation state for Gunicorn. Boolean values are deprecated.
102
- Allowed values: 'absent', 'present', 'latest'
103
+ Desired installation state for Gunicorn.
103
104
104
105
Default value: $python::params::gunicorn
105
106
106
107
##### ` manage_gunicorn `
107
108
108
109
Data type: ` Boolean `
109
110
110
- Allow Installation / Removal of Gunicorn. Default: true
111
+ Allow Installation / Removal of Gunicorn.
111
112
112
113
Default value: $python::params::manage_gunicorn
113
114
@@ -116,7 +117,6 @@ Default value: $python::params::manage_gunicorn
116
117
Data type: ` Optional[Enum['pip', 'scl', 'rhscl', 'anaconda', '']] `
117
118
118
119
What provider to use for installation of the packages, except gunicorn and Python itself.
119
- Allowed values: 'pip'
120
120
121
121
Default value: $python::params::provider
122
122
@@ -220,22 +220,6 @@ Optionally installs the gunicorn service
220
220
include python::config
221
221
```
222
222
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
-
239
223
## Defined types
240
224
241
225
### python::dotfile
@@ -375,10 +359,9 @@ Default value: `false`
375
359
376
360
##### ` mode `
377
361
378
- Data type: ` Any `
362
+ Data type: ` Enum['wsgi', 'django'] `
379
363
380
364
Gunicorn mode.
381
- wsgi|django. Default: wsgi
382
365
383
366
Default value: 'wsgi'
384
367
@@ -413,27 +396,22 @@ Default value: `false`
413
396
Data type: ` Any `
414
397
415
398
Set the application module name for gunicorn to load when not using Django.
416
- Default: app: app
417
399
418
400
Default value: 'app: app '
419
401
420
402
##### ` osenv `
421
403
422
404
Data type: ` Any `
423
405
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.
427
407
428
408
Default value: ` false `
429
409
430
410
##### ` timeout `
431
411
432
412
Data type: ` Any `
433
413
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.
437
415
438
416
Default value: 30
439
417
@@ -723,7 +701,7 @@ Default value: present
723
701
724
702
Data type: ` Any `
725
703
726
- Python version to use. Default: system default
704
+ Python version to use.
727
705
728
706
Default value: 'system'
729
707
@@ -771,7 +749,7 @@ Default value: '0755'
771
749
772
750
Data type: ` Any `
773
751
774
- Specifies the PATH variable. Default: [ '/bin', '/usr/bin', '/usr/sbin' ]
752
+ Specifies the PATH variable.
775
753
776
754
Default value: [ '/bin', '/usr/bin', '/usr/sbin', '/usr/local/bin' ]
777
755
0 commit comments