From e388fb4006e1d8f7828527a02c445bc633b5b367 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Moser?= Date: Fri, 27 May 2016 15:46:56 +0200 Subject: [PATCH] consul: fix param name for verify SSL (#2194) Introduced in #1793, fixes #2114, needs backport to 2.1 --- clustering/consul.py | 2 +- clustering/consul_acl.py | 2 +- clustering/consul_kv.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/clustering/consul.py b/clustering/consul.py index e96e7524aeb..27c3e84260c 100644 --- a/clustering/consul.py +++ b/clustering/consul.py @@ -332,7 +332,7 @@ def get_consul_api(module, token=None): return consul.Consul(host=module.params.get('host'), port=module.params.get('port'), scheme=module.params.get('scheme'), - validate_certs=module.params.get('validate_certs'), + verify=module.params.get('validate_certs'), token=module.params.get('token')) diff --git a/clustering/consul_acl.py b/clustering/consul_acl.py index b1c7763a550..34c569b250c 100644 --- a/clustering/consul_acl.py +++ b/clustering/consul_acl.py @@ -313,7 +313,7 @@ def get_consul_api(module, token=None): return consul.Consul(host=module.params.get('host'), port=module.params.get('port'), scheme=module.params.get('scheme'), - validate_certs=module.params.get('validate_certs'), + verify=module.params.get('validate_certs'), token=token) def test_dependencies(module): diff --git a/clustering/consul_kv.py b/clustering/consul_kv.py index 4dbf6072905..8163cbd986b 100644 --- a/clustering/consul_kv.py +++ b/clustering/consul_kv.py @@ -244,7 +244,7 @@ def get_consul_api(module, token=None): return consul.Consul(host=module.params.get('host'), port=module.params.get('port'), scheme=module.params.get('scheme'), - validate_certs=module.params.get('validate_certs'), + verify=module.params.get('validate_certs'), token=module.params.get('token')) def test_dependencies(module):