From 64dc9f8d4e319ab71ef80b97eb5e5f39fab19104 Mon Sep 17 00:00:00 2001 From: William Wernert Date: Mon, 7 Dec 2020 14:40:32 -0500 Subject: [PATCH] [fix] Only list ipv4 addresses when checking mysql --- salt/_modules/so.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/_modules/so.py b/salt/_modules/so.py index bbbbe4ea8..037b7da00 100644 --- a/salt/_modules/so.py +++ b/salt/_modules/so.py @@ -18,7 +18,7 @@ def mysql_conn(retry): return False mainint = __salt__['pillar.get']('host:mainint') - ip_arr = __salt__['grains.get']('ip_interfaces').get(mainint) + ip_arr = __salt__['grains.get']('ip4_interfaces').get(mainint) mysql_up = False