mysql.server_checks: enforce root password

This commit is contained in:
Alexander Weidinger 2018-03-14 23:22:05 +01:00
parent 5e6708dd49
commit dd1e52761d
2 changed files with 10 additions and 0 deletions

View file

@ -45,6 +45,12 @@ debconf.
cryptographically insecure, future formula versions should use the
newly available ``random.get_str`` method.
``mysql.server_checks``
-----------------------
Enforces a root password to be set.
``mysql.disabled``
------------------

4
mysql/server_checks.sls Normal file
View file

@ -0,0 +1,4 @@
check_pillar_for_root_password:
test.check_pillar:
- present:
- mysql:server:root_password