From e5ece6cd50ac7f30ad72f24f1381f43c170ead46 Mon Sep 17 00:00:00 2001 From: Doug Burks Date: Tue, 13 Oct 2020 12:34:49 -0400 Subject: [PATCH] Update so-index-list --- salt/common/tools/sbin/so-index-list | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/salt/common/tools/sbin/so-index-list b/salt/common/tools/sbin/so-index-list index d241d444d..86fb72717 100755 --- a/salt/common/tools/sbin/so-index-list +++ b/salt/common/tools/sbin/so-index-list @@ -15,4 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +{% if grains['role'] in ['so-node','so-heavynode'] %} +curl -X GET -k https://"localhost:9200/_cat/indices?v" +{% else %} curl -X GET "localhost:9200/_cat/indices?v" +{% endif %}