mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-17 10:10:30 +00:00

Add support of changing/adding any attribute in my.cnf. NB!!! It breaks backward compatibility for mysql.server state. Delete mysql_size param support (now you can customiza all my.cnf parameters in pillar) Add script import_users.py that create user pillar for existent server Add support root@localhost mysql user without password (root_password = False) Add support of grant_option
7 lines
242 B
Text
7 lines
242 B
Text
{% from "mysql/defaults.yaml" import rawmap with context %}
|
|
{%- set mysql = salt['grains.filter_by'](rawmap, grain='os', merge=salt['pillar.get']('mysql:server:lookup')) %}
|
|
|
|
mysql_python:
|
|
pkg:
|
|
- installed
|
|
- name: {{ mysql.python }}
|