ansible/test/units/modules
Adam Miller 6d95624c22 Refactor yum and dnf, add feature parity (#43621)
* Refactor yum and dnf, add feature parity

Signed-off-by: Adam Miller <admiller@redhat.com>

* remove unnecessary module_utils, move the classes into the module code

Signed-off-by: Adam Miller <admiller@redhat.com>

* remove yum -> yum4, out of scope

Signed-off-by: Adam Miller <admiller@redhat.com>

* use ABCMeta

Signed-off-by: Adam Miller <admiller@redhat.com>

* re-arrange run() caller vs callee

Signed-off-by: Adam Miller <admiller@redhat.com>

* make sanity checks happy

Signed-off-by: Adam Miller <admiller@redhat.com>

* fix yum unit tests

Signed-off-by: Adam Miller <admiller@redhat.com>

* remove unecessary debug statements, fix typo

Signed-off-by: Adam Miller <admiller@redhat.com>

* fix licensing and attribution in yumdnf module_util

Signed-off-by: Adam Miller <admiller@redhat.com>

* include fix from PR 40737

original commit 5cbda9658a
original Author: Strahinja Kustudic <kustodian@gmail.com>

yum will fail on 'No space left on device', fixes #32791 (#40737)

During the installing of packages if yum runs out of free disk space,
some post install scripts could fail (like e.g. when the kernel
package generates initramfs), but yum would still exit with a status
0.  This is bad, especially for the kernel package, because it makes
it unable to boot.  Because the yum module is usually used for
automation, which means the users cannot read every message yum
prints, it's better that the yum module fails if it detects that
there is no free space on the disk.

Signed-off-by: Adam Miller <admiller@redhat.com>

* Revert "fix licensing and attribution in yumdnf module_util"

This reverts commit 59e11de5a2.

* move fetch_rpm_from_url out of yumdnf module_util

Signed-off-by: Adam Miller <admiller@redhat.com>

* fix the move of fetch_rpm_from_url

Signed-off-by: Adam Miller <admiller@redhat.com>
2018-08-17 11:15:11 -04:00
..
cloud AnsiballZ improvements 2018-07-26 20:07:25 -07:00
files Fixes #34893 (#40166) 2018-05-16 11:09:32 -05:00
monitoring Update pagerduty modules to rest v2 (#42618) 2018-07-31 10:39:29 -04:00
net_tools Nios integration and unit tests for all remaining nios new modules (#43399) 2018-08-01 08:54:01 +05:30
network new voss_facts module (#44234) 2018-08-16 18:53:35 +05:30
packaging Refactor yum and dnf, add feature parity (#43621) 2018-08-17 11:15:11 -04:00
remote_management Python 2.6 str.format() compatibility fixes. 2018-01-10 14:08:11 -08:00
source_control AnsiballZ improvements 2018-07-26 20:07:25 -07:00
system Improved the documentation of known_hosts 2018-07-24 09:25:12 -04:00
web_infrastructure Fix jenkins_plugin test for no net situations (#30568) 2017-09-19 13:12:45 -07:00
__init__.py
conftest.py AnsiballZ improvements 2018-07-26 20:07:25 -07:00
utils.py AnsiballZ improvements 2018-07-26 20:07:25 -07:00