From c20168b4e2d11393aec1d3a3517740c75526a092 Mon Sep 17 00:00:00 2001 From: Alexander Lutay Date: Mon, 8 Aug 2016 18:45:13 +0200 Subject: [PATCH] Revert "MT#21227 Add MySQL check to validate passwords for all users" It doesn't work as expected. I was not able to force goss validate empty output on stdout/stderr. I will contact goss maintainer here. Reverted this to have nightly tests fixed. This reverts commit 71ba85f157d7c10f9f40f2c41fdf50eb4a365927. Change-Id: I555954dbfd173bcdfccaaa80792316d5b681e09b --- ce/11_mysql_paswords.json.tt2 | 10 ---------- ce/goss.json.tt2 | 1 - pro/11_mysql_paswords.json.tt2 | 1 - 3 files changed, 12 deletions(-) delete mode 100644 ce/11_mysql_paswords.json.tt2 delete mode 120000 pro/11_mysql_paswords.json.tt2 diff --git a/ce/11_mysql_paswords.json.tt2 b/ce/11_mysql_paswords.json.tt2 deleted file mode 100644 index 946f4ef..0000000 --- a/ce/11_mysql_paswords.json.tt2 +++ /dev/null @@ -1,10 +0,0 @@ -{ - "command": { - mysql -Bs mysql -e 'SELECT User,Host,Password FROM user WHERE (Password = "" OR Password LIKE "!%") AND User != "root"': { - "comment": "There must be no users without password (root is an exception here, customer must set it later)" - "exit-status": 0, - "stdout": [], - "stderr": [] - } - } -} diff --git a/ce/goss.json.tt2 b/ce/goss.json.tt2 index 79fba1f..23c862f 100644 --- a/ce/goss.json.tt2 +++ b/ce/goss.json.tt2 @@ -13,7 +13,6 @@ "08_system_ports.json": {}, "09_system_dns.json": {}, "10_sites_ok.json": {}, - "11_mysql_paswords.json": {}, "99_dummy.json": {} } } diff --git a/pro/11_mysql_paswords.json.tt2 b/pro/11_mysql_paswords.json.tt2 deleted file mode 120000 index cc1599d..0000000 --- a/pro/11_mysql_paswords.json.tt2 +++ /dev/null @@ -1 +0,0 @@ -../ce/11_mysql_paswords.json.tt2 \ No newline at end of file