Fleet gen packages hostname fix2

This commit is contained in:
Josh Brower committed 2020-06-11 11:44:56 -04:00
1 parent 05d890901f
commit ab143b3216
1 file changed
+1 -1
+1 -1
View File
@@ -4,7 +4,7 @@
{%- set FLEETIP = salt['pillar.get']('static:fleet_ip', False) -%}
{% set CUSTOM_FLEET_HOSTNAME = salt['pillar.get']('static:fleet_custom_hostname', None) %}
{% if CUSTOM_FLEET_HOSTNAME != None or CUSTOM_FLEET_HOSTNAME != '' %}
{% if CUSTOM_FLEET_HOSTNAME != (None and '') %}
{{ CUSTOM_FLEET_HOSTNAME }}:
host.present: