Merge "Debian: do not configure gunicorn-config.py"
This commit is contained in:
commit
29f4f0b9eb
@ -486,11 +486,14 @@ deprecated and will be removed in a future release. Use openstack-barbican-api i
|
|||||||
tag => 'barbican-service',
|
tag => 'barbican-service',
|
||||||
}
|
}
|
||||||
|
|
||||||
file_line { 'Modify bind_port in gunicorn-config.py':
|
# Debian is using UWSGI, not gunicorn
|
||||||
path => '/etc/barbican/gunicorn-config.py',
|
if $::os_package_type != 'debian' {
|
||||||
line => "bind = '${bind_host}:${bind_port}'",
|
file_line { 'Modify bind_port in gunicorn-config.py':
|
||||||
match => '.*bind = .*',
|
path => '/etc/barbican/gunicorn-config.py',
|
||||||
tag => 'modify-bind-port',
|
line => "bind = '${bind_host}:${bind_port}'",
|
||||||
|
match => '.*bind = .*',
|
||||||
|
tag => 'modify-bind-port',
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} elsif $service_name == 'httpd' {
|
} elsif $service_name == 'httpd' {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user