Fleet dedicated node - various fixes

This commit is contained in:
Josh Brower
2020-03-25 13:03:40 -04:00
parent 9bcba41882
commit e5ecf0f4cb
10 changed files with 164 additions and 112 deletions

View File

@@ -2,6 +2,7 @@
{% set MASTER = salt['grains.get']('master') %}
{% set GRAFANA = salt['pillar.get']('master:grafana', '0') %}
{% set FLEETMASTER = salt['pillar.get']('static:fleet_master', False) %}
{% set FLEETNODE = salt['pillar.get']('static:fleet_node', False) %}
# Add socore Group
socoregroup:
group.present:
@@ -143,7 +144,7 @@ so-core:
- port_bindings:
- 80:80
- 443:443
{%- if FLEETMASTER %}
{%- if FLEETMASTER or FLEETNODE %}
- 8090:8090
{%- endif %}
- watch: