ansible/test/units
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
..
cli Add APB role_type to ansible-galaxy init (#36789) 2018-03-09 06:50:17 -05:00
config Only print warning when ansible.cfg is actually skipped (#43583) 2018-08-03 10:39:33 -07:00
contrib Update vmware_inventory (#26308) 2017-07-18 07:20:23 -04:00
errors
executor Remove unused rslt_q, rename the one queue to final_q everywhere (#43894) 2018-08-13 13:43:28 -05:00
inventory_test_data/group_vars
mock AnsiballZ improvements 2018-07-26 20:07:25 -07:00
module_utils new nos_command module (#43056) 2018-08-10 13:50:02 -07:00
modules Refactor yum and dnf, add feature parity (#43621) 2018-08-17 11:15:11 -04:00
parsing fix decrypted vault utf8 values (#37539) 2018-05-24 23:22:46 -04:00
playbook Fix multiple var files combining (followup to #36357) 2018-07-20 09:29:20 -04:00
plugins Solve race condition in password lookup (#42529) 2018-08-15 15:10:52 -04:00
template Remove duplicated "instead" word (#38800) 2018-04-16 09:23:43 -04:00
utils Move AWS placebo fixtures into test/units/utils so module_utils tests can use them (#37300) 2018-03-22 14:57:59 -04:00
vars Miscellaneous pylint fixes. 2017-09-13 01:53:08 -07:00
__init__.py
ansible.cfg Fix ansible-test config management. 2017-10-04 12:52:36 -07:00
conftest.py
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 2017-06-14 11:08:34 -04:00