We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcc91ae commit 35f493fCopy full SHA for 35f493f
manifests/gunicorn.pp
@@ -63,6 +63,7 @@
63
$owner = 'www-data',
64
$group = 'www-data',
65
$appmodule = 'app:app',
66
+ $osenv = false,
67
$template = 'python/gunicorn.erb',
68
) {
69
templates/gunicorn.erb
@@ -6,6 +6,9 @@ CONFIG = {
6
<% end -%>
7
<% if @virtualenv -%>
8
'environment': {
9
+<% if @osenv -%><% @osenv.sort.each do |key, value| -%>
10
+ '<%= key %>': '<%= value %>',
11
+<% end -%><% end -%>
12
<% if @environment -%>
13
'ENVIRONMENT': '<%= @environment %>',
14
0 commit comments