summaryrefslogtreecommitdiffstats
path: root/roles/lib_utils
Commit message (Collapse)AuthorAgeFilesLines
* Remove dummy setup/teardown methodsRodolfo Carvalho2017-03-061-8/+0
|
* Clean up test filesRodolfo Carvalho2017-03-062-24/+0
| | | | | They are not executable anymore, and tests are now meant to be run through pytest.
* Remove redundant assertionRodolfo Carvalho2017-03-061-2/+0
| | | | | | 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.
* BZ1422348 - Don't install python-ruamel-yamlScott Dodson2017-03-032-12/+1
| | | | Just rely on PyYAML as a fallback and hope that's there
* raise exceptions when walking through object pathJoel Diaz2017-02-283-5/+38
| | | | | | | | | | | | | | | | 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)
* Merge pull request #3406 from sdodson/openshift_reposScott Dodson2017-02-231-0/+15
|\ | | | | Install repos on containerized hosts for python dependencies
| * add dependency on openshift_reposScott Dodson2017-02-171-0/+15
| |
* | fix up ruamel.yaml/pyyaml no-member lint errorsJason DeTiberus2017-02-224-76/+85
| |
* | Removed unrequired no-members from yedit and generated codeSteve Milner2017-02-222-11/+40
| |
* | Removed unused code. Made tests executable.Kenny Woodson2017-02-212-0/+0
| |
* | Fix validation of generated codeRodolfo Carvalho2017-02-201-1/+1
| | | | | | | | | | Importing modules with the same name will not reload an already imported module. Explicitly reloading the module is the quickest fix.
* | Unset exec bit in tests, add missing requirementsJason DeTiberus2017-02-192-0/+0
| | | | | | | | was: separate lib_ unit tests from other unit tests
* | Include missing unit tests to test runner configRodolfo Carvalho2017-02-192-0/+0
| | | | | | | | We were not running those tests in CI, bad :(
* | Fix tests on Python 3Rodolfo Carvalho2017-02-192-2/+2
|/ | | | | | Unlike in Python 2: - `range` doesn't return a list. - `dict.keys` doesn't return a list.
* Don't attempt to install python-ruamel-yaml on atomicScott Dodson2017-02-161-0/+6
|
* Pleasing the linting gods.Kenny Woodson2017-02-164-13/+25
|
* Fixed tests for pyyaml vs ruamel. Added import logic. Fixed safe load.Kenny Woodson2017-02-162-4/+4
|
* Adding fallback support for pyyaml.Kenny Woodson2017-02-164-32/+81
|
* Fixed ansible module unit and integration tests and added runners.Thomas Wiest2017-02-072-2/+45
|
* Added oc_serviceaccount_secret to lib_openshift.Thomas Wiest2017-02-062-16/+30
|
* Ensure python2-ruamel-yaml is installedScott Dodson2017-02-031-0/+5
| | | | | | need to revisit this, currently python2-ruamel-yaml doesn't provide 'python-ruamel-yaml'. It probably should and that should be what we're installing.
* Added repoquery to lib_utils.Thomas Wiest2017-01-3111-20/+1423
|
* Generate the artifacts from fragments.Tim Bielawa2017-01-241-0/+16
|
* Update the generators to include fragment bannersTim Bielawa2017-01-241-1/+36
|
* Updated the generate.py scripts for tox and virtualenv.Kenny Woodson2017-01-182-12/+26
|
* Adding a few updates for python27,35 compatibilityKenny Woodson2017-01-181-0/+6
|
* Adding --verfiy to generate script.Kenny Woodson2017-01-173-23/+55
|
* Adding oc_edit module to lib_openshift.Kenny Woodson2017-01-174-58/+7
|
* lib_openshift modules. This is the first one. oc_route.Kenny Woodson2017-01-135-108/+217
|
* Adding ability to systematically modify yaml from ansible.Kenny Woodson2017-01-1111-0/+2118