I have create mysql user using SaltStack but it does not include SSL.
My salt code:
{{ pillar['mysql_user'] }}:
mysql_user.present:
- host: "{{ mysql_bind_address }}"
- password: "{{ pillar['db_password'] }}"
- connection_user: root
- connection_pass: "{{ pillar['mysql_root_password'] }}"
- connection_charset: utf8
mysql_grants.present:
- grant: TRIGGER, INSERT, UPDATE, DELETE
- database: mydatabase.*
- user: {{ pillar['mysql_user'] }}
- host: "{{ mysql_bind_address }}"
- ssl_option:
- SSL: True
It creates normal mysql user but it does not require SSL for login.
Is there anything else I need to do or this is bug in salt and I cannot use salt for this?
Thank you