fix reference to master grain

This commit is contained in:
m0duspwnens
2020-07-09 17:06:44 -04:00
parent 5ca3ecf4bd
commit 9c2dcd2318
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
# them with $. For strings the variable must be within quotes (ie, "$STR_VAR"),
# for numbers and booleans they should be plain (ie, $INT_VAR, $BOOL_VAR)
{%- set MANAGER = grains['manager'] %}
{%- set MANAGER = salt['grains.get']('master') %}
{% set NODEIP = salt['pillar.get']('elasticsearch:mainip', '') %}
{% set HELIX_API_KEY = salt['pillar.get']('fireeye:helix:api_key', '') %}
{% set UNIQUEID = salt['pillar.get']('sensor:uniqueid', '') %}