Fleet standalone fixes

This commit is contained in:
Josh Brower
2020-06-01 16:36:32 -04:00
parent 046bca626e
commit 4b14ecf1d9
7 changed files with 27 additions and 6 deletions

View File

@@ -1,4 +1,6 @@
{%- set MAINIP = salt['pillar.get']('node:mainip', '') %}
{% set MAININT = salt['pillar.get']('host:mainint') %}
{% set MAINIP = salt['grains.get']('ip_interfaces').get(MAININT)[0] %}
# For more information on configuration, see:
# * Official English Documentation: http://nginx.org/en/docs/
# * Official Russian Documentation: http://nginx.org/ru/docs/