Commit graph

5298 commits

Author SHA1 Message Date
Peter Oliver
e1e861fa35 Add another example. 2015-01-26 21:11:38 +00:00
Peter Oliver
3524330e5d Fix idempotency when removing packages.
If the package is already not present, then we have nothing to do.
2015-01-25 15:44:32 +00:00
Peter Oliver
2eae1820ff Tweak documentation. 2015-01-25 15:42:52 +00:00
Misho Krastev
d11e36589a Merge branch 'upstream_devel' into devel
Conflicts:
	system/lvol.py
2015-01-24 22:13:53 -08: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
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
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
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
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