[salt.minion.cert] MySQL certificate and key
Adds ability to generate certificates and keys using
salt.minion.cert state for MySQL.
Usage:
Add the class to reclass model for db nodes:
classes:
- system.salt.minion.cert.mysql.server
Apply state:
salt 'db*' state.sls salt.minion.cert
PROD-14210
Change-Id: I8366dd618032c6179428ed5a25f59286fa518925
diff --git a/.releasenotes/notes/add-mysql-cert-definition-c6a2e6445020d66f.yaml b/.releasenotes/notes/add-mysql-cert-definition-c6a2e6445020d66f.yaml
new file mode 100644
index 0000000..06398e1
--- /dev/null
+++ b/.releasenotes/notes/add-mysql-cert-definition-c6a2e6445020d66f.yaml
@@ -0,0 +1,19 @@
+---
+features:
+ - |
+ Added a system class to generate certificates and keys for MySQL.
+
+ **To generate files:**
+
+ #. Include the class to the Reclass model of your deployment:
+
+ .. code-block:: yaml
+
+ classes:
+ - system.salt.minion.cert.mysql.server
+
+ #. Apply the :command:`salt.minion.cert` Salt state:
+
+ .. code-block:: bash
+
+ salt '*' state.sls salt.minion.cert