Commit graph

16 commits

Author SHA1 Message Date
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
Matt Martz
18878be584 Add missing __init__.py file 2016-12-08 11:32:56 -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
Steve Gargan
366f163495 use module.fail_json to report import errors. document valid duration units 2016-12-08 11:32:35 -05:00
Steve Gargan
e1ff0feb58 documentation tweaks to fix missing arguments and specification of defaults 2016-12-08 11:32:35 -05:00
Steve Gargan
b5faf88494 Properly report exception causes particularly connection exceptions contacting the consul agent 2016-12-08 11:32:35 -05:00
Steve Gargan
e701972186 require a valid duration suffix for interval and ttl values 2016-12-08 11:32:35 -05:00
Steve Gargan
2728dc3fb8 fix logic that tests for change in an existing registered service 2016-12-08 11:32:35 -05:00
Steve Gargan
a04bd291b4 remove debug imports from acl module 2016-12-08 11:32:34 -05:00
Steve Gargan
4b5e73c11c 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
2016-12-08 11:32:34 -05:00