* create a yamllint utils module. as well as a yaml module that will
eventually be yaml tools to help in troubleshooting yaml
functionality.
* included unit tests for the yaml module. also not happy about moving
from __salt__.module.function to __salt__["module.function"] for the
test to work
* added pre_render test and minor correct to heredoc in yamllint
* changelog
* fix tests running in py3.5, also try and fix pre-commit.
* attempt to fix pre-commit
* still trying to fix pre-commit.
* forgot freebsd, added yamllint to freebsd
* update adding versionadded and depends
* fix pre-commit?
* fix pre-commit
* attempt to fix pre-commit again
Co-authored-by: Megan Wilhite <mwilhite@vmware.com>
* Update pytest to 6.2.5 for python 3.10
* bump junos-eznc to 2.6.0
* bump setproctitle version and fix integration tests
* Skip tests for python 3.10
* Fix test with py3.10
* bump jinja2 version and dependencies
* Fix test with py3.10
* Skip tests for python 3.10 and new moto version
* Use tempfile library to test perms on directories
* Maintain static requirements changes, revert `requirements/base.txt`
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
Co-authored-by: Megan Wilhite <mwilhite@vmware.com>
Co-authored-by: Pedro Algarvio <palgarvio@vmware.com>
* Update alter_db to return True or False depending on the success of failure of the alter. Update grant_exists to only use the full list of available privileges when the grant is on the global level, eg. datbase is "*.*". Adding some pytest integration tests, testing across all MySQL variants.
* Adding tests and changelog.
* Removing unneeded log messages.
* Skip new mysql tests if dockerd binary is unavailable.
* Add `pymysql` to linux CI requirements
* Make use of pytest-salt-factories container support.
* Increasing the number of login attempts before failing.
* Moving tests/unit/modules/test_mysql.py to tests/pytests/unit/modules/test_mysql.py
* removing unneeded code. swapping out the skipIfs for the pytest version.
* Need to pass args in this call to _execute.
* try_except pymysql import, skip tests if not available.
* bump version of pymysql for Python 3.5 down to 1.0.0 as 1.0.2 is unavailable.
* Bumping pymysql version down to 0.9.3 for python 3.5. version 1.0 is broken and later versions do not work.
* adding pymysql with correct versions to static/ci/linux.in.
* Fixing the password creating and altering issues raised in #60264
* Update linux.in
* Fixing failing unit test tests/pytests/unit/modules/test_mysql.py::test_user_chpass
* Lint fixes.
* Fixing failign tests.
* fixing failing test on MariaDB.
* Removing debugging line.
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>