From d9b0808871cb2d3dd135205be6618be728b2778b Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Thu, 22 Aug 2024 13:11:08 +0100 Subject: [PATCH] Update MySQL Python interface for salt minion. The Salt packaging recently changed to their own Python, away from using the system Python. --- states/mariadb/init.sls | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/states/mariadb/init.sls b/states/mariadb/init.sls index 77b51f0..3eee7fa 100644 --- a/states/mariadb/init.sls +++ b/states/mariadb/init.sls @@ -10,14 +10,13 @@ mariadb_setup: - require: - pkg: debconf-utils -python3-mysqldb: - pkg.installed +PyMySQL: + pip.installed mariadb-server: pkg.installed: - require: - debconf: mysql-server - - pkg: python3-mysqldb mariadb: service.running: