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

This adds optional support for having split configuration files within a config directory, most commonly /etc/my.cnf.d.
9 lines
249 B
Text
9 lines
249 B
Text
include:
|
|
- mysql.config
|
|
|
|
{% from "mysql/defaults.yaml" import rawmap with context %}
|
|
{%- set mysql = salt['grains.filter_by'](rawmap, grain='os', merge=salt['pillar.get']('mysql:lookup')) %}
|
|
|
|
mysql:
|
|
pkg.installed:
|
|
- name: {{ mysql.client }}
|