Commit graph

5511 commits

Author SHA1 Message Date
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
Will
b1629ac77a Allow sending direct messages with slack module 2015-01-22 09:05:32 -05:00
Hiroshi Umehara
759e032473 Generalize locale name normalization 2015-01-22 12:07:10 +09:00
Rob White
adb1f0a1c8 Convert symlinks specified in pvs to actual path 2015-01-22 13:37:37 +11: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
Alexander Gubin
e15fba5156 lvol: Cast size(LogicalVolumeSize) to lower to fix the difference between lvs and lvcreate 2015-01-12 17:43:51 +01:00
Daniel Newport
2b1b3df40f use state=latest to ensure the latest version is installed. mimics functionality of the apt and yum modules. 2015-01-10 23:56:05 -05:00
Daniel Newport
8fa3e97d30 fix pacman upgrade bug 2015-01-10 10:40:03 -05: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
Yuri Kunde Schlesner
1d60d33dc1 crypttab: Fix parameter checking with state=absent
Only the `name` parameter is required when removing an entry, but the module tried to ensure at least one other parameter was set.
2015-01-08 21:44:58 -02: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
Chris Schmidt
44bfe5a7d6 Fixed bug where passing a directory as dest failed 2015-01-07 00:35:48 -07:00
Chris Schmidt
1bb8abffa3 Changed "target" to "dest" 2015-01-07 00:11:16 -07: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
Misho Krastev
5acc634549 fix lvol module to properly query the size of logical volumes 2015-01-05 01:52:20 -08:00
Sterfield
48ecbd037e Missing import re
I don't even know how it magically worked, but the fact is the code was
correct, and ran OK without the import re.
2015-01-03 22:24:27 +01:00
Sterfield
c9656ff3b4 Now allow every type of locales + archlinux fix
The previous version of this code was supporting only locales using the
format "<language>_<territory>.<charset>". But all the locales that
doesn't have this format were not installable (such as "fr_FR" or
"fr_FR@euro").
Also, if an invalid locales was provided, the module kept sending a
"changed" status.

Now :
 * if the user provides an invalid locales, the module failed. Locales
   are verified using /etc/locale.gen or /usr/share/i18n/SUPPORTED if
   Ubuntu
 * Every types of valid locales are now supported.
 * The locale module was not working on Archlinux, as there's no space
   between the "#" and the locale. This is now supported. Credits goes
   to danderson189, this is his code.

This module was tested on debian jessie, ubuntu 14 LTS and last
Archlinux.
2015-01-03 18:01:13 +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
Peter Oliver
5a7695c440 Try to fix up commas in version numbers. 2014-12-31 13:27:21 +00:00
Peter Oliver
ec54b00fdf Add missing boilerplate. 2014-12-31 12:48:59 +00:00
Peter Oliver
07815bde3b Add Solaris 11 package management
- Module pkg5 handles installing and uninstalling packages.
- Module pkg5_publisher manages repository configuration.
2014-12-31 11:59:40 +00:00
Brian Coca
2e6b94047d fixed doc bug 2014-12-30 19:53:59 -05:00
Julien Pepy
2e1b703b3c Fix composer module checkmode and change detection 2014-12-23 22:38:15 +01: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