summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3387 from enj/enj/f/sdn_moduleScott Dodson2017-02-275-0/+600
|\ | | | | Add SDNValidator Module
| * Add SDNValidator ModuleMonis Khan2017-02-215-0/+600
| | | | | | | | Signed-off-by: Monis Khan <mkhan@redhat.com>
* | [oc_obj] Move namespace argument to end of command.Andrew Butcher2017-02-276-21/+21
| |
* | Fixed indentationKenny Woodson2017-02-241-1/+1
| |
* | Adding get_env_var to deploymentconfig.Kenny Woodson2017-02-242-15/+16
| |
* | Fixed default variables. Added a fix to generated secret in env var.Kenny Woodson2017-02-243-2/+21
| |
* | Fixing doc for oc_adm_ca_server_cert.Kenny Woodson2017-02-231-2/+2
| |
* | Merge pull request #3416 from detiber/combinedTestScott Dodson2017-02-2312-25/+1298
|\ \ | | | | | | lib_openshift - handle cases where oc binary is not in path
| * | lib_openshift oc file lookup improvementsJason DeTiberus2017-02-2113-34/+1295
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move binary file search to separate method called from constructor - Use six.PY3 instaed of sys.version_info - Combine additional paths with the paths from the environment - For py3 pass the combined paths to shutil.which - For py2 explictly search for existance of file from combined paths instead of using distutils.spawn.find_executable and falling back - Use 'oc adm' instead of 'oadm' - Fix generate_validation test issue - fix tests for oc binary location - add tests for file lookup
| * | roles/lib_openshift: Handle /usr/local/bin/oc with sudoColin Walters2017-02-212-4/+16
| |/ | | | | | | | | | | | | | | | | | | | | | | The real changes here are in `src/lib/{base,import}.py` remember, the rest is committed to git rather than built for some reason. This is tested on CentOS AH (python2), I haven't yet tested the Python 3 path here. I tried the suggestion in the PR for using Ansible's `module` but AFAICS that would require passing down the `module` variable pretty far down into this code. This implementation seems OK too. Closes: https://github.com/openshift/openshift-ansible/issues/3410
* | Updated for pylint. Fixed create doc.Kenny Woodson2017-02-221-4/+12
| |
* | Attempt to handle router preparation errors.Kenny Woodson2017-02-221-3/+8
| |
* | Merge pull request #3378 from kwoodson/oadm_caKenny Woodson2017-02-224-0/+276
|\ \ | | | | | | Adding oc_adm_ca_server_cert to lib_openshift
| * | Moving import to local class.Kenny Woodson2017-02-222-2/+1
| | |
| * | Removing reference to oadm. Moved parameter under general params.Kenny Woodson2017-02-221-2/+2
| | |
| * | Added backup feature. Fixed a bug with reading the certificate and ↵Kenny Woodson2017-02-214-12/+32
| | | | | | | | | | | | verifying names. Added force option.
| * | Added copy support when modifying cert and key on existenceKenny Woodson2017-02-213-1/+19
| | |
| * | Small spacing fix.Kenny Woodson2017-02-211-0/+2
| | |
| * | Updated doc and defined defaults for signer_*Kenny Woodson2017-02-213-11/+9
| | |
| * | Removing cmd, fixed docs and comments.Kenny Woodson2017-02-202-65/+13
| | |
| * | Rename of oadm_ca to oc_adm_ca. Decided to whittle down to the direct call, ↵Kenny Woodson2017-02-204-47/+29
| | | | | | | | | | | | server_cert.
| * | Fixing doc.Kenny Woodson2017-02-202-43/+87
| | |
| * | Adding oadm_ca to lib_openshift.Kenny Woodson2017-02-204-0/+265
| | |
* | | Merge pull request #3429 from ashcrow/remove-no-memberScott Dodson2017-02-224-3/+2
|\ \ \ | | | | | | | | Removed unrequired no-members
| * | | fix up ruamel.yaml/pyyaml no-member lint errorsJason DeTiberus2017-02-223-3/+0
| | | |
| * | | Removed unrequired no-members from yedit and generated codeSteve Milner2017-02-221-0/+2
| | |/ | |/|
* | | Added required_together. Added two minor bug fixes for when data is not passed.Kenny Woodson2017-02-223-6/+10
| | |
* | | if no key, cert, cacert, or default_cert is passed then do not pass to ocKenny Woodson2017-02-212-2/+11
|/ /
* | Removed oadm_ references in doc.Kenny Woodson2017-02-212-2/+2
| |
* | Removed unused code. Made tests executable.Kenny Woodson2017-02-2112-25/+6
| |
* | Fixing docs. Fixed default_cert suggestion.Kenny Woodson2017-02-208-34/+86
| |
* | Renamed modules, fixed docs, renamed variables, and cleaned up logic.Kenny Woodson2017-02-2011-126/+165
| |
* | Renaming registry and router roles to oc_adm_Kenny Woodson2017-02-206-7/+7
| |
* | Fixing registry doc and suggestions.Kenny Woodson2017-02-203-38/+30
| |
* | Adding router and registry to lib_openshift.Kenny Woodson2017-02-209-0/+1672
|/
* Replace has_key in new modulesSteve Milner2017-02-202-2/+2
| | | | | | | The dict.has_key has been removed in Python 3. However, both Python 2 and 3 support: if needle in dict
* Unset exec bit in tests, add missing requirementsJason DeTiberus2017-02-1911-0/+0
| | | | was: separate lib_ unit tests from other unit tests
* Include missing unit tests to test runner configRodolfo Carvalho2017-02-1911-0/+0
| | | | We were not running those tests in CI, bad :(
* Fixing a bug by removing default debugKenny Woodson2017-02-171-1/+1
|
* String compatibility for python2,3Kenny Woodson2017-02-171-1/+1
|
* Pleasing the linting gods.Kenny Woodson2017-02-162-3/+6
|
* Fixed tests for pyyaml vs ruamel. Added import logic. Fixed safe load.Kenny Woodson2017-02-163-26/+85
|
* Adding fallback support for pyyaml.Kenny Woodson2017-02-161-4/+14
|
* Fix cases where child classes override OpenShiftCLI valuesJason DeTiberus2017-02-1311-33/+11
|
* Merge pull request #3299 from kwoodson/oc_envScott Dodson2017-02-136-0/+791
|\ | | | | Adding oc_env to lib_openshift.
| * Fixing docs, linting, and comments.Kenny Woodson2017-02-102-7/+12
| |
| * Pleasing the linting bot.Kenny Woodson2017-02-084-66/+5
| |
| * Adding integration tests.Kenny Woodson2017-02-083-254/+408
| |
| * Adding oc_env to lib_openshift.Kenny Woodson2017-02-085-0/+693
| |
* | Fixing docs.Kenny Woodson2017-02-092-6/+20
| |