ansible/packaging/os
Abhijit Menon-Sen 6afa1da910 Clarify HAVE_PYTHON_APT/install_python_apt handling in apt_repository
1. Don't test check_mode in both the caller and in the callee.
2. Don't test HAVE_PYTHON_APT inside an if that tests HAVE_PYTHON_APT
3. Don't be irritatingly vague about why the module fails ("You may be
   seeing this because…").

Note that if «apt-get -y install python-apt» succeeds with rc==0, but
for some reason python_apt is not usable afterwards, this will break
because the imports in install_python_apt aren't wrapped inside a
try/except.

In other words, we assume that install_python_apt either succeeds or
fails with a traceback. This commit doesn't affect that behaviour.
2015-07-30 13:03:10 +05:30
..
__init__.py Some more module categorization. 2014-11-04 17:23:22 -05:00
apt.py updated upgrade to a more sensible default as the previous was prone to confusion 2015-07-03 14:44:17 -04:00
apt_key.py Proper author info for all remaining modules 2015-06-15 15:53:30 -04:00
apt_repository.py Clarify HAVE_PYTHON_APT/install_python_apt handling in apt_repository 2015-07-30 13:03:10 +05:30
apt_rpm.py Proper author info for all remaining modules 2015-06-15 15:53:30 -04:00
package.py updated to add missing 'use' option 2015-07-16 16:53:17 -04:00
redhat_subscription.py Proper author info for all remaining modules 2015-06-15 15:53:30 -04:00
rhn_channel.py Proper author info for all remaining modules 2015-06-15 15:53:30 -04:00
rhn_register.py Add version that the profilename param was added 2015-06-30 05:08:38 -07:00
rpm_key.py Small cleanups. 2015-06-24 06:51:00 -07:00
yum.py Add notes about loop squashing and 1.9.2 change to install packages in one yum transaction 2015-07-09 08:17:00 -07:00