Commit graph

5525 commits

Author SHA1 Message Date
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
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
Jonathan Mainguy
d611f86e5b Addes login_port feature, similiar to how mysql_db.py works 2014-12-12 16:10:14 -05:00
Toshio Kuratomi
846eb48ea4 Merge pull request #150 from cosmopetrich/firewalld-docs
Remove default from 'permanent' and 'state' docs
2014-12-12 10:11:13 -08:00
Brian Coca
de9a297a36 Merge pull request #140 from steinim/devel
Fall back to simplejson if ImportError on json
2014-12-12 12:42:56 -05:00
Cosmo Petrich
443d7683a0 Remove default from 'permanent' and 'state' docs
These fields are both required, and thus do not actually have defaults.
2014-12-12 18:49:19 +11:00
Brian Coca
108db556a0 Merge pull request #136 from bcoca/gluster_revamp
revamp of gluster volume management
2014-12-11 20:55:23 -05:00
Brian Coca
fdd41fb95c Merge pull request #1 from mscherer/devel
Add a new option immediate= to immediately apply a permanent change
2014-12-11 20:47:48 -05:00
Chris Schmidt
9498d3de9c Renamd Module File 2014-12-11 17:23:25 -07:00
Chris Schmidt
226144512d Renamted module from download_artifact to maven_artifact 2014-12-11 17:21:38 -07:00
James Cammarata
84df085b2b Merge pull request #149 from acrobat/typo-patch
Small typo fix in the composer documentation
2014-12-11 13:47:56 -06:00
Jeroen Thora
4513d3d29e Small typo fix 2014-12-11 20:30:00 +01:00
Brian Coca
b8071a8d5e Merge pull request #141 from bcoca/haproxy_cleanup
minor cleanup
2014-12-09 12:35:25 -05:00
Brian Coca
9f88bdb7f5 moved version added 2014-12-09 12:29:28 -05:00
Stein Inge Morisbak
c4af7a1324 Removed import of json. It is already imported in the common module. 2014-12-09 15:38:55 +01:00
Brian Coca
a97d1016dc minor cleanup, removing unused/redundant code, cleaned some comments, slight reformating in class to
remove kwargs
2014-12-09 09:06:04 -05:00
Brian Coca
82aaaa4152 Merge pull request #23 from ravibhure/devel
Added module haproxy, to handle enable/disable backend server with shutdown_sessions feature in haproxy.
2014-12-09 08:51:07 -05:00
Stein Inge Morisbak
5a2b80ccaa Fall back to simplejson if ImportError on json 2014-12-09 13:14:50 +01:00
Michael DeHaan
3fa7806ae5 Merge pull request #134 from bcoca/chocolatey_minor_fix
changed to use ansible standard 'name' instead of 'package'
2014-12-08 14:33:40 -08:00
Michael DeHaan
5da1984484 Merge pull request #135 from bcoca/snmp_facts_docfix
minor doc tweaks to snmp_facts
2014-12-08 14:33:15 -08:00
Ravi Bhure
d4a096f7ff Recorded the changes suggested by brian coca 2014-12-07 02:29:16 -07:00
Brian Coca
6725d5188d revamp of gluster volume management
also implemented deleting a volume
2014-12-06 19:08:07 -05:00
Brian Coca
b5a0d10925 changed to use ansible standard 'name' instead of 'package' 2014-12-06 19:04:19 -05:00
Brian Coca
cf215dbac4 minor doc tweaks to snmp_facts 2014-12-06 18:58:23 -05:00
Ravi Bhure
44b2cdb5f2 used ansible conventions to use trigered action ==> state,
now only two states are available enabled/disabled_
get weight for backend server, is default behavior for both state,
supports set weight while enable server in lb pool
2014-12-05 11:44:43 -07:00
nmeum
926194f75d Make sure portage doesn't ask for confirmation
If EMERGE_DEFAULT_OPTS in make.conf(5) contains '--ask' then the portage
module doesn't work correctly, this commit fixes that
2014-12-04 12:21:15 +01:00
Robin Roth
7948b91bad fix local change 2014-12-04 11:28:18 +01:00
Robin Roth
76142ddb97 Allow multiple versions in rpm state
Fix bug in ansible get_package_state and get_current_version that breaks when there are multiple versions of a package installed and there is a list of packages to install.
The previous implementation used 'zip' to match requested names to installed names which fails, because rpm outputs multiple lines per package when there are multiple versions.

Testcase: Install opensuse, install multiple kernel versions (happens by update)
Before patch: calling 
zypper: state=present for name={{item}} 
with_items: 
  - kernel-desktop
  - git

leads to ansible aborting.
After the patch ansible performs as expected and makes sure both packages are present.
Also the last version number is used for further update information in this version (before if only one package name was given the oldest version number was used).
2014-12-04 11:25:06 +01:00