Fleet setup - final fixes

This commit is contained in:
Josh Brower committed 2020-06-08 08:47:06 -04:00
1 parent 3f3990ac83
commit 51f97f5ae5
2 files changed
+3 -3

No files matched your search

+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 %}
{% if CUSTOM_FLEET_HOSTNAME != None && CUSTOM_FLEET_HOSTNAME != '' %}
{% set HOSTNAME = CUSTOM_FLEET_HOSTNAME %}
{% else %}
{% set HOSTNAME = grains.host %}