1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/library/packaging
Patrick Gerken 38d6956c1f Properly catch import errors in apt
When one accidentally tries to run this module as a user, he gets the error message that python-apt must be installed, no matter what. Because importing apt will trigger an exception as a regular user. Explicitly catching the ImportError will let the exception bubble. The exception clearly says Permission denied somewhere, and the user has a better idea, what he must fix.
2014-03-14 02:13:20 +01:00
..
apt Properly catch import errors in apt 2014-03-14 02:13:20 +01:00
apt_key Merge pull request #6468 from philpep/fix_apt_key 2014-03-13 17:58:40 -05:00
apt_repository Various commits to enable no-shell or safe-shell usage, more to come. 2014-03-12 16:44:35 -04:00
cpanm Fix missing colons in cpanm 2014-03-12 17:25:32 -04:00
easy_install Force command action to not be executed by the shell unless specifically enabled 2014-03-10 16:13:30 -05:00
gem Various commits to enable no-shell or safe-shell usage, more to come. 2014-03-12 16:44:35 -04:00
homebrew Use "brew list <name>" instead of grepping the output of "brew list". 2014-01-03 15:15:20 +01:00
macports Various commits to enable no-shell or safe-shell usage, more to come. 2014-03-12 16:44:35 -04:00
npm Force command action to not be executed by the shell unless specifically enabled 2014-03-10 16:13:30 -05:00
openbsd_pkg Merge pull request #4949 from eest/openbsd_pkg-rework-name-parsing 2013-12-13 08:05:25 -08:00
opkg Various commits to enable no-shell or safe-shell usage, more to come. 2014-03-12 16:44:35 -04:00
pacman Various commits to enable no-shell or safe-shell usage, more to come. 2014-03-12 16:44:35 -04:00
pip Force command action to not be executed by the shell unless specifically enabled 2014-03-10 16:13:30 -05:00
pkgin Fixes for run_command shell usage in remainder of packaging modules, save portinstall. 2014-03-12 16:57:18 -04:00
pkgng Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
pkgutil Fixes for run_command shell usage in remainder of packaging modules, save portinstall. 2014-03-12 16:57:18 -04:00
portage Fix docstring and snippet import style in portage module 2014-03-11 15:26:26 -04:00
portinstall Close parens in portinstall 2014-03-12 17:36:48 -04:00
redhat_subscription Fixes for run_command shell usage in remainder of packaging modules, save portinstall. 2014-03-12 16:57:18 -04:00
rhn_channel Fixes #5023 Convert all modules to use new snippet import pattern 2013-12-02 15:11:23 -05:00
rhn_register Force command action to not be executed by the shell unless specifically enabled 2014-03-10 16:13:30 -05:00
rpm_key Remove validate_certs parameter from fetch_url calls 2014-03-12 10:31:01 -05:00
svr4pkg Fixes #5023 Convert all modules to use new snippet import pattern 2013-12-02 15:11:23 -05:00
swdepot Fixes for run_command shell usage in remainder of packaging modules, save portinstall. 2014-03-12 16:57:18 -04:00
urpmi Fixes for run_command shell usage in remainder of packaging modules, save portinstall. 2014-03-12 16:57:18 -04:00
yum Yum: Fix logic in yum. 2014-03-07 15:22:59 -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