Commit Graph

20 Commits (9b96585085e1280364224d7a19708318d77239fc)

Author SHA1 Message Date
Joel Thompson be695eda69 Fix default service_address in consul module (#2454)
PR #1299 introduced the service_address parameter but specified a
default value of localhost. This is a breaking change; prior to that,
the consul module would always assume that the service should advertise
the address that the Consul agent was listening on. With this change,
the consul module will now default to advertising localhost to all nodes
for the service, which isn't the desired behavior. This changes the
default back to None which is the implicit default prior to #1299.
2016-12-08 11:34:24 -05:00
René Moser e6766078ea consul: fix param name for verify SSL (#2194)
Introduced in #1793, fixes #2114, needs backport to 2.1
2016-12-08 11:34:18 -05:00
Rene Moser 002ce4b352 consul: add docs, fix typos, minor style fix 2016-12-08 11:34:09 -05:00
Sun JianKang f7b6523ff5 add service address when register service (#1299) 2016-12-08 11:34:09 -05:00
Chris Tooley b2c7d28f41 Modify consul certificate validation bypass keyword from 'verify' to 'validate_certs' 2016-12-08 11:34:00 -05:00
Chris Tooley ca1efafc50 Add version_added to documentation 2016-12-08 11:33:59 -05:00
Chris Tooley 6c41d9cd38 Add https support for consul clustering modules 2016-12-08 11:33:59 -05:00
Toshio Kuratomi ad0d2c1747 Update for modules which import json.
Some do not use the json module directly so don't need import json.
Some needed to fallback to simplejson with no traceback if neither was installed

Fixes #1298
2016-12-08 11:33:44 -05:00
Joel Thompson 3796e26a9d Add no_log=True to consul modules' API tokens
API tokens should be considered sensitive and not logged.
2016-12-08 11:33:40 -05:00
Brian Coca a65647efee added version_added and fixed some doc parsing issues 2016-12-08 11:33:27 -05:00
Jeremy Wells c8e0f3a552 Add consul http checks to consul.py
Consul module already supports ttl and script checks. This commit adds
http checks.
2016-12-08 11:33:27 -05:00
Brian Coca d530764c49 fixed option in examples 2016-12-08 11:33:27 -05:00
Toshio Kuratomi a4859e1087 Clean up unneeded urllib2 imports 2016-12-08 11:33:01 -05:00
Brian Coca b789277517 minor doc fixes 2016-12-08 11:33:00 -05:00
Greg DeKoenigsberg c65a612d1f Changes to author formatting, remove emails 2016-12-08 11:32:51 -05:00
mlamatr 4005b2855b corrected typo in URL for consul.io 2016-12-08 11:32:44 -05:00
Brian Coca ce8db1cf79 fixed version on consul modules 2016-12-08 11:32:43 -05:00
Brian Coca c4f52f62f7 fix doc parsing by correctly quoting author 2016-12-08 11:32:39 -05:00
Toshio Kuratomi a8c12ec097 Add python >= 2.6 to documented deps 2016-12-08 11:32:36 -05:00
Matt Martz acee6436af Give consul modules a .py extension 2016-12-08 11:32:36 -05:00