summaryrefslogtreecommitdiff
path: root/roles/lib_utils/src
AgeCommit message (Collapse)Author
2018-02-13Adding ability to yedit json files.Kenny Woodson
2017-09-20Returning actual results of yedit query. Empty list was returning empty dict.Kenny Woodson
2017-09-13add retry on repoquery_cmdLuke Meyer
2017-09-13add retries to repoquery moduleLuke Meyer
2017-05-13Fix python3 error in repoqueryJeff Peeler
Explicitly convert from bytes to string so that splitting the string is successful. This change works with python 2 as well. Closes #4182
2017-05-12Merge pull request #4065 from ingvagabund/introduce-get-rpm-version-roleJan Chaloupka
Introduce excluder-free rpm version detection role
2017-05-11Extend repoquery command (of lib_utils role) to ignore excludersJan Chaloupka
2017-05-10Fix for yedit custom separatorsMatt Woodson
2017-03-28Fixed a bug in oc_volume.Kenny Woodson
2017-03-28Adding a few more test cases. Fixed a bug when key was empty. Safeguard ↵Kenny Woodson
against yedit module being passed an empty key
2017-03-28Added the ability to do multiple editsKenny Woodson
2017-03-06Remove dummy setup/teardown methodsRodolfo Carvalho
2017-03-06Clean up test filesRodolfo Carvalho
They are not executable anymore, and tests are now meant to be run through pytest.
2017-03-06Remove redundant assertionRodolfo Carvalho
That line is testing Python's list.count method, instead of yedit. The assertion right above is a superset of it, as it checks for equality to some expected value.
2017-02-28raise exceptions when walking through object pathJoel Diaz
if we're given path a.b.c and the existing object is: a: b: - item1 raise an exception due to unexpected objects found while traversing the path (ie. b is a list, not a dict) also, add_entry assumes new dicts for each sub element when creating elements besides the final assignment value. doing something like a.b.c[0] = 12 where 'c' doesn't exist raises an exception add test cases to cover: access path that differs from existing object create new objects with an embedded list in the path create new object with a list at the end (define the end list in the passed in 'value' to avoid this exception)
2017-02-22fix up ruamel.yaml/pyyaml no-member lint errorsJason DeTiberus
2017-02-22Removed unrequired no-members from yedit and generated codeSteve Milner
2017-02-21Removed unused code. Made tests executable.Kenny Woodson
2017-02-20Fix validation of generated codeRodolfo Carvalho
Importing modules with the same name will not reload an already imported module. Explicitly reloading the module is the quickest fix.
2017-02-19Unset exec bit in tests, add missing requirementsJason DeTiberus
was: separate lib_ unit tests from other unit tests
2017-02-19Include missing unit tests to test runner configRodolfo Carvalho
We were not running those tests in CI, bad :(
2017-02-19Fix tests on Python 3Rodolfo Carvalho
Unlike in Python 2: - `range` doesn't return a list. - `dict.keys` doesn't return a list.
2017-02-16Pleasing the linting gods.Kenny Woodson
2017-02-16Fixed tests for pyyaml vs ruamel. Added import logic. Fixed safe load.Kenny Woodson
2017-02-16Adding fallback support for pyyaml.Kenny Woodson
2017-02-07Fixed ansible module unit and integration tests and added runners.Thomas Wiest
2017-02-06Added oc_serviceaccount_secret to lib_openshift.Thomas Wiest
2017-01-31Added repoquery to lib_utils.Thomas Wiest
2017-01-24Update the generators to include fragment bannersTim Bielawa
2017-01-18Updated the generate.py scripts for tox and virtualenv.Kenny Woodson
2017-01-18Adding a few updates for python27,35 compatibilityKenny Woodson
2017-01-17Adding --verfiy to generate script.Kenny Woodson
2017-01-17Adding oc_edit module to lib_openshift.Kenny Woodson
2017-01-13lib_openshift modules. This is the first one. oc_route.Kenny Woodson
2017-01-11Adding ability to systematically modify yaml from ansible.Kenny Woodson