| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
This commit continues moving plugins into lib_utils.
This commit does not move any plugins for add-on roles
such as logging and metrics.
|
|
|
|
|
| |
This commit removes become:no statements that break
the installer in various ways.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit relocates filter_plugings to lib_utils,
changes the namespacing to prevent unintended use of
older versions that may be present in filter_plugins/
directory on existing installs.
Add lib_utils to meta depends for roles
Also consolidate some plugins into lib_utils from
various other areas.
Update rpm spec, obsolete plugin rpms.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Certificates with large serial numbers (such as those from commercial
vendors) previously failed to parse due to absent logic in the
FakeOpenSSLCertificate parser. This would cause the module to abort
and break any other roles depending on the cert expiry checking
results.
* Identifies large serials in HEX format for decimal conversion
* Update unit tests to parse a large serial
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We are moving toward having adhoc post-install checks and so the
"preflight" designation needs to be widened.
Updated location to playbooks/byo/openshift-checks, added health check playbook, and updated README.
Also included the certificate_expiry playbooks.
Left behind symlinks and wrappers for existing checks.
To conform with the direction of the rest of the repo, the
openshift-checks playbooks are split into two directories, one under
playbooks/common with the actual invocation and one under
playbooks/byo for entrypoints that are just wrappers for the ones in common.
Because the certificate_expiry playbooks are intended not just to be
functional but to be examples that users modify, I did not split them
similarly. That could happen later after discussion but for now I just
left them whole under byo/openshift-checks/certificate_expiry.
|
|
|
|
|
|
|
| |
In a project where contributors are free to use whatever editor they
want and we have linting tools that verify the proper formatting of
Python files, it should not be required to have a vim-specific line in
Python files.
|
|\
| |
| | |
Merged by openshift-bot
|
| | |
|
| |
| |
| |
| |
| |
| | |
In ansible 2.3 "[WARNING]: when statements should not include jinja2
templating delimiters such as {{ }} or {% %}. Found: {{
g_glusterfs_hosts is not defined }}"
|
|/
|
|
|
|
| |
Since OpenSSL 1.1.0, default name options ('oneline') for 'x509'
command include 'space_eq'. Explicitly enable 'oneline' in order to
have one behaviour with all versions.
|
|
|
|
|
|
|
|
|
|
| |
Additional certificate expiration check playbooks:
- one that that uploads the generated reports to a location in the masters
- one that uses custom report paths with timestamps
OpenShift Job and ScheduledJob examples that use these playbooks
run from a container to check cluster certificates from within
the cluster itself.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- create pytest fixtures for building certs at runtime
- update tests to use the fixtures
- add tests for load_and_handle_cert
- fix py2/py3 encode/decode issues raised by tests
- add get_extension_count method to fakeOpenSSLCertificate
- avoid using a temp file for passing ssl certificate to openssl
subprocess
- other test tweaks:
- exclude conftest.py and tests from coverage report
- reduce the fail_under to 26%, since the tests being included were
inflating our coverage
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* Now includes cert serial numbers in JSON and HTML output
* Docs are updated with explicit usage instructions
* Each example playbook includes a link to the playbook and an example of how to run it
* A graphic and copy of an HTML report are now included
* Example JSON output has been updated
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Move pylint tests to tox
- Move yamllint tests to tox
- Create separate tox config (and setup.py) for root
- bump ansible requirement
- unify pylint config
- add docs
- remove git directory containing old testing tools
- install python-six if not present for openshift-facts
- add python-six as a dependency for openshift-ansible-utils
|
|
|
|
| |
versions
|
|
|
|
| |
changes
|
|
|
|
|
| |
* Addresses RFE in
https://bugzilla.redhat.com/show_bug.cgi?id=1389264
|
|
|
|
| |
* Addresses https://bugzilla.redhat.com/show_bug.cgi?id=1389263
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
certs for easier parsing.
|
|
|
|
|
|
| |
* Fix code lint
* Prefix role variables with the role name per best practices
* Add words to README
|
|
|
|
|
|
| |
Fix 'make ci' system
Add examples
|
|
|