From cade234963c15eb0b265d94d65390ba925fc7c65 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Sun, 31 Jan 2016 20:34:54 +0100 Subject: [PATCH] Switch result backend to redis The AMQP result backend proved as impractical, this commit switches to redis instead. The redis server is setup on the webinterface host but can be configured on another host. --- roots/gnuviechadmin/gvaldap/settings.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/roots/gnuviechadmin/gvaldap/settings.sh b/roots/gnuviechadmin/gvaldap/settings.sh index 4f358a0..cbc289c 100644 --- a/roots/gnuviechadmin/gvaldap/settings.sh +++ b/roots/gnuviechadmin/gvaldap/settings.sh @@ -12,3 +12,4 @@ export GVALDAP_SECRETKEY='{{ salt['grains.get_or_set_hash']('gnuviechadmin.secre export GVALDAP_BROKER_URL='{{ broker_url }}' export GVALDAP_ALLOWED_HOSTS='{{ salt['pillar.get']('gnuviechadmin:allowed_hosts') }}' export GVALDAP_SERVER_EMAIL='{{ salt['pillar.get']('gnuviechadmin:mailfrom') }}' +export GVALDAP_RESULTS_REDIS_URL="redis://:{{ salt['pillar.get']('gnuviechadmin:redis_password') }}@{{ salt['pillar.get']('gnuviechadmin:redis_host') }}/0"