Merge "Debian: do not configure gunicorn-config.py"

This commit is contained in:
Zuul 2020-05-31 15:12:27 +00:00 committed by Gerrit Code Review
commit 29f4f0b9eb

View File

@ -486,12 +486,15 @@ deprecated and will be removed in a future release. Use openstack-barbican-api i
tag => 'barbican-service',
}
# Debian is using UWSGI, not gunicorn
if $::os_package_type != 'debian' {
file_line { 'Modify bind_port in gunicorn-config.py':
path => '/etc/barbican/gunicorn-config.py',
line => "bind = '${bind_host}:${bind_port}'",
match => '.*bind = .*',
tag => 'modify-bind-port',
}
}
} elsif $service_name == 'httpd' {
include apache::params