Commit Graph

46 Commits (fa65f4dc2b44d213e6d3bd23ca1750f6c7d5171d)

Author SHA1 Message Date
René Moser 31e7463e68 Merge pull request #1793 from ctooley/add_https_to_consul_lookup
Add https support for consul clustering modules
9 years ago
Chris Tooley 04982da9b8 Modify consul certificate validation bypass keyword from 'verify' to 'validate_certs' 9 years ago
René Moser 33dea8ef76 Merge pull request #1642 from justingood/devel
Add support for recursive znode deletion
9 years ago
René Moser 1c79efb64d Merge pull request #1725 from mscherer/clean_consul
Clean consul
9 years ago
Chris Tooley 516f7d98e7 Add version_added to documentation 9 years ago
Chris Tooley b5390824c2 Add https support for consul clustering modules 9 years ago
Michael Scherer 250494eaef Remove unused variables
Session_id is unused in update_session, changed is always specifically
set in all exit_json call, and consul_client.session.destroy return True
or False, and is unused later (nor checked)
9 years ago
Michael Scherer 05ac6edd45 Rename consul variable to consul_client
Since the module is also named consul, pyflakes emit a warning
about it since the variable shadow the module.
9 years ago
Michael Scherer 9e61b49d58 Pyflakes complain about unused import, so remove it 9 years ago
Michael Scherer 1084bb31b8 Add a datacenter parameter, fix #1693 9 years ago
Justin Good b8bc7ed9ff Add support for recursive znode deletion 9 years ago
Toshio Kuratomi d6af6f8477 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
9 years ago
Joel Thompson ae8a4581f4 Add no_log=True to consul modules' API tokens
API tokens should be considered sensitive and not logged.
9 years ago
twmartin 90327ad76b Correct 'object not iterable' TypeError 9 years ago
Jimmy Tang b51d096c31 Fix documentation, the correct parameter is "name" 9 years ago
Brian Coca fdb4a58f97 added version_added and fixed some doc parsing issues 9 years ago
Brian Coca 6e01848602 Merge pull request #837 from jemmyw/consul-http-checks
Add consul http checks to consul.py
9 years ago
Brian Coca 15480e3d04 fixed option in examples 9 years ago
Jeremy Wells cf4b4be901 Add consul http checks to consul.py
Consul module already supports ttl and script checks. This commit adds
http checks.
9 years ago
Matt Martz e6b6bac820 znode requires a minimum of python2.6 9 years ago
Toshio Kuratomi 962afeed54 Make the znode module a valid ansible module 9 years ago
Konstantin Manna 11041dd00e bugfix: uncall an uncallable dict 9 years ago
Chris Hoffman e861e587d7 Removing token obfuscation 9 years ago
Chris Hoffman fa20898c2d Adding support for service ACLs in consul_acl module 9 years ago
Brian Coca e31a4be192 fixes to prevent doc brekage 9 years ago
Brian Coca 27e1ace8a1 moved znode to clustering added version_added 9 years ago
Toshio Kuratomi 79173ac18d Clean up unneeded urllib2 imports 10 years ago
Brian Coca cf764bf060 minor doc fixes 10 years ago
Matt Martz 8ba11e97e2 Add missing __init__.py file 10 years ago
Greg DeKoenigsberg 004dedba8a Changes to author formatting, remove emails 10 years ago
mlamatr 80663e0fbe corrected typo in URL for consul.io 10 years ago
Brian Coca c223716bc7 fixed version on consul modules 10 years ago
Brian Coca bceeba224f fix doc parsing by correctly quoting author 10 years ago
Greg DeKoenigsberg 609b6d05f3 Adding author's github id 10 years ago
Greg DeKoenigsberg da89e65dc0 Adding author's github id 10 years ago
Greg DeKoenigsberg 7ed647d292 Adding author's github id 10 years ago
Greg DeKoenigsberg 6f30acd0d2 Adding author's github id 10 years ago
Toshio Kuratomi e5022ba87b Add python >= 2.6 to documented deps 10 years ago
Matt Martz 1b3b0caa51 Give consul modules a .py extension 10 years ago
Steve Gargan 3a6f57cbc0 use module.fail_json to report import errors. document valid duration units 10 years ago
Steve Gargan 3900643352 documentation tweaks to fix missing arguments and specification of defaults 10 years ago
Steve Gargan b553f59a54 Properly report exception causes particularly connection exceptions contacting the consul agent 10 years ago
Steve Gargan 0c6d426c40 require a valid duration suffix for interval and ttl values 10 years ago
Steve Gargan a8584ade95 fix logic that tests for change in an existing registered service 10 years ago
Steve Gargan 0d7647d904 remove debug imports from acl module 10 years ago
Steve Gargan ea6c887d6c Initial commit of Ansible support for the Consul clustering framework (http://consul.io).
Submission includes support for
 - creating and registering services and checks
 - reading, writing and lookup for values in consul's kv store
 - creating and manipulating sessions for distributed locking on values in the kv
 - creating and manipulating ACLs for restricting access to the kv store
 - inventory support that reads the Consul catalog and group nodes according to
     - datacenters
     - exposed services
     - service availability
     - arbitrary groupings from the kv store

This submission makes extensive use of the python-consul library and this is required
as a dependency and can be installed from pip.

The tests were written to target a vagrant cluster which can be setup by following the
instructions here http://github.com/sgargan/consul-vagrant
10 years ago