Remove Grafana and Playbook links for Import mode

This commit is contained in:
Doug Burks
2022-12-22 15:45:25 -05:00
committed by GitHub
parent 3f0ded0638
commit 5be074bbea

View File

@@ -1368,6 +1368,13 @@ telegraf_pillar() {
manager_pillar() { manager_pillar() {
touch $adv_manager_pillar_file touch $adv_manager_pillar_file
title "Create the manager pillar" title "Create the manager pillar"
if [[ $is_import ]]; then
GRAFANA=0
PLAYBOOK=0
else
GRAFANA=1
PLAYBOOK=1
fi
printf '%s\n'\ printf '%s\n'\
"manager:"\ "manager:"\
" proxy: '$so_proxy'"\ " proxy: '$so_proxy'"\