Fleet setup fixes

This commit is contained in:
Josh Brower
2020-06-08 13:28:27 -04:00
parent 35bc5f9133
commit 913c1a89bf
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
{% set VERSION = salt['pillar.get']('static:soversion') %}
{% set CUSTOM_FLEET_HOSTNAME = salt['pillar.get']('static:fleet_custom_hostname', None) %}
{% if CUSTOM_FLEET_HOSTNAME != None && CUSTOM_FLEET_HOSTNAME != '' %}
{% if CUSTOM_FLEET_HOSTNAME != None and CUSTOM_FLEET_HOSTNAME != '' %}
{% set HOSTNAME = CUSTOM_FLEET_HOSTNAME %}
{% else %}
{% set HOSTNAME = grains.host %}