diff --git a/pod/mariadb.sls b/pod/mariadb.sls index 1609896..1e2b6b9 100644 --- a/pod/mariadb.sls +++ b/pod/mariadb.sls @@ -7,5 +7,14 @@ Create data directory for mariadb: - group: 999 - 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') }}