prevent elasticsearch pillar being added twice for managers and helix

This commit is contained in:
m0duspwnens
2020-07-13 09:45:11 -04:00
parent e62381e998
commit 242e17b329
2 changed files with 5 additions and 5 deletions

View File

@@ -440,8 +440,10 @@ fi
set_progress_str 18 'Setting node type'
set_node_type >> $setup_log 2>&1
set_progress_str 19 'Generating search node pillar'
elasticsearch_pillar >> $setup_log 2>&1
if ! [[ $is_manager || $is_helix ]]; then
set_progress_str 19 'Generating search node pillar'
elasticsearch_pillar >> $setup_log 2>&1
fi
fi
if [[ $is_minion ]]; then