[fix] Use update so-cortex-user-enable with correct pillar

Fixes #3388
This commit is contained in:
William Wernert
2021-03-10 16:17:10 -05:00
parent 157badf448
commit 9ffbb9d37e

View File

@@ -30,7 +30,7 @@ fi
USER=$1
CORTEX_KEY=$(lookup_pillar cortexkey)
CORTEX_KEY=$(lookup_pillar cortexorguserkey)
CORTEX_API_URL="$(lookup_pillar url_base)/cortex/api"
CORTEX_USER=$USER