Commit graph

5183 commits

Author SHA1 Message Date
Steve Gargan
3900643352 documentation tweaks to fix missing arguments and specification of defaults 2015-04-26 22:27:53 +01:00
Steve Gargan
b553f59a54 Properly report exception causes particularly connection exceptions contacting the consul agent 2015-03-16 16:50:53 +00:00
Steve Gargan
0c6d426c40 require a valid duration suffix for interval and ttl values 2015-03-03 20:03:46 +00:00
Steve Gargan
a8584ade95 fix logic that tests for change in an existing registered service 2015-03-03 14:18:56 +00:00
Steve Gargan
0d7647d904 remove debug imports from acl module 2015-02-28 15:23:23 +00:00
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
2015-01-24 01:33:53 +00:00
Brian Coca
21126a4af3 Merge pull request #214 from zinrai/devel
Add EUC-JP locale name normalization
2015-01-22 16:01:47 -05:00
Hiroshi Umehara
759e032473 Generalize locale name normalization 2015-01-22 12:07:10 +09:00
Brian Coca
73bdc396a3 Merge pull request #216 from wimnat/devel
Changed status() to be case-sensitive of process
2015-01-21 19:31:02 -05:00
Rob White
13285765a8 Keep 'process' lowercase to protect against upstream changes 2015-01-22 11:26:00 +11:00
Rob White
0f45029827 Changed status() to be case-sensitive of process 2015-01-22 11:01:33 +11:00
Hiroshi Umehara
42f79478a7 Add EUC-JP locale name normalization
The function normalizes checks for UTF-8, but the same issue exists for
other locales as well.  This fix adds normalization for EUC-JP, a Japanese
locale.
2015-01-21 16:10:12 +09:00
Toshio Kuratomi
70ccadc611 Merge pull request #212 from gtirloni/nagios-fixes
nagios.py - fix use of empty list as default value in function argument
2015-01-20 18:06:43 -08:00
Giovanni Tirloni
5ae3bbaf05 Fix dangerous use of empty list as default arg (mutable) 2015-01-20 12:35:13 -05:00
Toshio Kuratomi
2396f36f11 Fix typo causing SyntaxError (missing colon) 2015-01-19 09:40:04 -08:00
Brian Coca
edef1c8484 Merge pull request #204 from andsens/rabbitmq-clear-user-pw
Clear rabbitmq_user pw when none is specified
2015-01-19 11:47:39 -05:00
Anders Ingemann
3795ab0379 Clear rabbitmq_user pw when none is specified 2015-01-16 14:32:08 +01:00
Brian Coca
0e79910f02 Merge pull request #201 from j-carl/patch-1
Fix typo
2015-01-15 11:23:17 -05:00
Jens Carl
e529279fea Fix typo
Fix typo and remove an obsolete space.
2015-01-15 16:15:17 +00:00
Toshio Kuratomi
16d622aab8 Fix documentation in zypper_repository 2015-01-14 20:49:44 -08:00
Brian Coca
86f2124c0d Merge pull request #191 from jlec/zypper_repo_refresh
Allow disabling of autorefresh for zypper repositories
2015-01-14 10:03:41 -05:00
Justin Lecher
8658b6783a
Keep default behaviour for refresh
Signed-off-by: Justin Lecher <jlec@gentoo.org>
2015-01-14 15:50:18 +01:00
Brian Coca
1fdd4bbc8f Merge pull request #198 from pilou-/avoid_using_echo
Avoid to use the builtin 'echo'  and remove unused variable
2015-01-12 13:23:55 -05:00
Pierre-Louis Bonicoli
40298a8f24 remove unused variable 2015-01-12 19:02:30 +01:00
Pierre-Louis Bonicoli
25f595c2ba Avoid to use the builtin 'echo'
By default, the interpretation of escape characters could be disabled (bash)
or enabled (dash).
2015-01-12 18:52:25 +01:00
Brian Coca
ffa8abf979 Merge pull request #120 from alxgu/lvol_fix_path
Fix lvol: Find LVM commands in PATH env - Bugfix Pull Request
2015-01-09 16:04:45 -05:00
Justin Lecher
7248c0861d
Allow disabling of autorefresh for zypper repositories
In case of release repositories or other special cases you might not
need the autorefreshing of the repos. This patch adds a configure
option instead of hard enabling this.

Signed-off-by: Justin Lecher <jlec@gentoo.org>
2015-01-09 16:07:42 +01:00
Toshio Kuratomi
a32869d492 Allow 0 to be specified 2015-01-07 09:20:45 -08:00
Toshio Kuratomi
df240f7840 Merge pull request #186 from XooR/mysql_change_master_to_fix
Fixes #155 SQL Syntax Error with mysql_replication module
2015-01-07 09:17:32 -08:00
Brian Coca
f6b80fc31d Merge pull request #184 from daysofwineandroses/getent_fix
Fix getent behaviour with fail_key=False
2015-01-06 09:14:35 -05:00
Bert Mertens
3981872375 Fix getent behaviour with fail_key=False 2015-01-06 09:57:30 +01:00
Toshio Kuratomi
d4f5b6d41a Fixes for docs building 2015-01-05 08:40:57 -08:00
Stanislav Antic
c4986bf78d Fixes #155 2015-01-05 14:59:01 +01:00
Brian Coca
3e7da5366b Merge pull request #176 from bcoca/gluster_volume_docfix
fixed doc bug
2015-01-02 14:22:23 -05:00
Brian Coca
f2bcec1a2d Merge pull request #178 from bob-smith/debconf
Add a note about debconf passwords always being recorded as changed
2015-01-02 12:29:18 -05:00
John Barker
9efac37b1b Add a note about debconf passwords always being recorded as changed 2014-12-31 22:10:18 +00:00
Brian Coca
2e6b94047d fixed doc bug 2014-12-30 19:53:59 -05:00
Brian Coca
60c06b79d6 Merge pull request #129 from soeren2342/devel
Make sure portage doesn't ask for confirmation
2014-12-23 14:08:15 -05:00
Toshio Kuratomi
ef8dc9955b Merge pull request #161 from lifanov/devel
fix at.py module on non-glibc systems
2014-12-22 23:46:46 -08:00
Nikolai Lifanov
8df2a4e1a7 Merge remote-tracking branch 'upstream/devel' into devel 2014-12-22 13:03:36 -05:00
Brian Coca
34fa36d38e Merge pull request #166 from acrobat/typo-fix
Fixed small typo in zabbix group docs
2014-12-19 17:49:22 -05:00
Jeroen Thora
899f1c0a0b Fixed small typo in zabbix group docs 2014-12-19 23:43:21 +01:00
Nikolai Lifanov
587f52085b Merge remote-tracking branch 'upstream/devel' into devel 2014-12-18 09:10:13 -05:00
Brian Coca
59eda8657c Merge pull request #162 from bcoca/corrected_version_added_winmods
corrected version added
2014-12-17 12:57:44 -05:00
Brian Coca
24734db807 corrected version added 2014-12-17 12:49:51 -05:00
Brian Coca
88579a7f15 Merge pull request #160 from lenaten/devel
add missed __init__.py , this fixes ansible-doc by making sure the .py documents are present
2014-12-17 10:48:03 -05:00
Nikolai Lifanov
1be1aacadf fix at.py module on non-glibc systems 2014-12-17 10:09:36 -05:00
net
33585d14a3 package file 2014-12-17 13:25:51 +02:00
Toshio Kuratomi
68368fa444 Merge pull request #156 from alxgu/zypper-fix_gpg_check
zypper: Fix gpg check option for state=latest. --no-gpg-checks is used in new and old zypper versions
2014-12-16 23:54:18 -08:00
Alexander Gubin
50a8774784 zypper: Fix gpg check option for state=latest. --no-gpg-checks is used in new and old zypper versions 2014-12-16 14:35:46 +01:00