ansible/library/packaging
Drew 44578e030d Fix proper defaulting/required of 'state' for gem module
The docs for 'gem' say state is required, but the actual code says it's not required.

If it's not included (and there's no default) then the if block falls through with no changes and no errors (it neither adds nor removes the gem).

This change synchronizes the docs with the code.  It also adds the sane default of state=present, which is consistent with all other modules with the 'state' field.
2014-02-12 16:01:40 -06:00
..
apt Remove debugging code 2014-01-08 02:34:59 +01:00
apt_key apt_key module: Case insensitive presence checking 2014-01-14 01:11:40 +01:00
apt_repository reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 (#5852) 2014-02-03 13:00:40 -06:00
easy_install Fixes #5381 easy_install bug when used with virtualenv 2013-12-20 16:44:18 -06:00
gem Fix proper defaulting/required of 'state' for gem module 2014-02-12 16:01:40 -06:00
homebrew Use "brew list <name>" instead of grepping the output of "brew list". 2014-01-03 15:15:20 +01:00
macports Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
npm Fix npm documentation typo. 2014-01-09 08:53:17 +08:00
openbsd_pkg Merge pull request #4949 from eest/openbsd_pkg-rework-name-parsing 2013-12-13 08:05:25 -08:00
opkg Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
pacman small change to docs 2014-02-06 20:35:42 -07:00
pip If a executable is defined but not found the module should fail. Addresses https://github.com/ansible/ansible/issues/5781. 2014-01-29 13:09:58 -06:00
pkgin Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
pkgng Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
pkgutil Fixes #5023 Convert all modules to use new snippet import pattern 2013-12-02 15:11:23 -05:00
portinstall Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
redhat_subscription Fixes #5023 Convert all modules to use new snippet import pattern 2013-12-02 15:11:23 -05:00
rhn_channel Fixes #5023 Convert all modules to use new snippet import pattern 2013-12-02 15:11:23 -05:00
rhn_register Fixes #5023 Convert all modules to use new snippet import pattern 2013-12-02 15:11:23 -05:00
rpm_key All modules should be using /usr/bin/python in the shebang as ansible_python_interpreter processes this (see FAQ). 2014-01-15 09:52:17 -05:00
svr4pkg Fixes #5023 Convert all modules to use new snippet import pattern 2013-12-02 15:11:23 -05:00
swdepot Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
urpmi Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
yum Adding a check for pending tranasctions to the yum module 2014-01-22 15:19:19 -06:00
zypper remove check for version string 2014-02-12 17:14:43 +01:00
zypper_repository zypper_repository: claims to support check_mode, but does not. Fixes GH-5614. 2014-01-14 14:20:18 +01:00