Merge pull request #836 from Security-Onion-Solutions/bugfix/misc

Fleet gen packages hostname fix2
This commit is contained in:
Josh Brower
2020-06-11 11:45:30 -04:00
committed by GitHub

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: