Typo in celeryconfig
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
fb8b70778a
commit
99fc8667ca
1 changed files with 10 additions and 14 deletions
|
@ -1,22 +1,18 @@
|
||||||
#
|
#
|
||||||
# Celery configuration file
|
# Celery configuration file
|
||||||
# See: docs.celeryproject.org/en/latest/userguide/configuration.html
|
# See: http://docs.celeryproject.org/en/latest/userguide/configuration.html
|
||||||
#
|
#
|
||||||
|
|
||||||
# Broker URL
|
# Broker settings
|
||||||
# This might be more appropriate in prod:
|
|
||||||
# broker_url = amqps://user:password@hostname:port//vhost
|
import ssl
|
||||||
# broker_use_ssl =
|
|
||||||
# keyfile=/var/ssl/private/worker-key.pem
|
|
||||||
# certfile=/var/ssl/amqp-server-cert.pem
|
|
||||||
# ca_certs=/var/ssl/myca.pem
|
|
||||||
# cert_reqs=ssl.CERT_REQUIRED
|
|
||||||
broker_url = "amqps://bodhi{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org//bodhi"
|
broker_url = "amqps://bodhi{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org//bodhi"
|
||||||
broker_use_ssl =
|
broker_use_ssl = {
|
||||||
ca_certs=/etc/pki/fedora-messaging/cacert.pem
|
"ca_certs": "/etc/pki/fedora-messaging/cacert.pem",
|
||||||
keyfile=/etc/pki/fedora-messaging/bodhi-key.pem
|
"keyfile": "/etc/pki/fedora-messaging/bodhi-key.pem",
|
||||||
certfile=/etc/pki/fedora-messaging/bodhi-cert.pem
|
"certfile": "/etc/pki/fedora-messaging/bodhi-cert.pem",
|
||||||
cert_reqs=ssl.CERT_REQUIRED
|
"cert_reqs": ssl.CERT_REQUIRED,
|
||||||
|
}
|
||||||
|
|
||||||
# Where the tasks are defined
|
# Where the tasks are defined
|
||||||
imports = "bodhi.server.tasks"
|
imports = "bodhi.server.tasks"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue