added my.cnf for mysqld_exporter

This commit is contained in:
Jonas Forsberg 2023-07-07 08:39:03 +02:00
parent 3ec5ce616e
commit dd29af5849

View File

@ -7,5 +7,14 @@ Create data directory for mariadb:
- group: 999 - group: 999
- mode: "0755" - mode: "0755"
Create my.cnf for mysqlg_exporter:
file.managed:
- name: /srv/my.cnf
- source: salt://pod/files/my.cnf.jinja
- template: jinja
- user: root
- group: root
- mode: "0755"
{{ pod_deploy('mariadb') }} {{ pod_deploy('mariadb') }}