paulbsd-salt/states/mariadb/config.sls

28 lines
724 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
{%- from "mariadb/map.jinja" import mariadb with context %}
2023-08-26 09:48:32 +02:00
mariadb-config-server:
2020-07-10 00:58:55 +02:00
file.managed:
2023-02-04 19:53:42 +01:00
- name: /etc/mysql/mariadb.conf.d/51-server.cnf
2023-03-10 00:03:08 +01:00
- source: salt://mariadb/templates/server.cnf.j2
2020-07-10 00:58:55 +02:00
- user: root
- group: root
- mode: 0644
- template: jinja
- require:
- pkg: mariadb-install-pkgs
- pip: mariadb-install-pip-pkgs
- watch_in:
2021-08-19 21:15:24 +02:00
- service: mariadb-service
2023-08-26 09:48:32 +02:00
mariadb-config-client:
file.managed:
- name: /etc/mysql/mariadb.conf.d/51-client.cnf
- source: salt://mariadb/templates/client.cnf.j2
- user: root
- group: root
- mode: 0644
- template: jinja
- require:
- pkg: mariadb-install-pkgs
- pip: mariadb-install-pip-pkgs