connect wip

This commit is contained in:
Jason Ertel
2024-10-17 11:22:10 -04:00
parent 435b9b14e3
commit 25fe83cd40
2 changed files with 3 additions and 4 deletions

View File

@@ -5,7 +5,7 @@
{% from 'allowed_states.map.jinja' import allowed_states %} {% from 'allowed_states.map.jinja' import allowed_states %}
{% if sls.split('.')[0] in allowed_states %} {% if sls.split('.')[0] in allowed_states %}
{% from "hydra/map.jinja" import hydraMERGED %} {% from "hydra/map.jinja" import HYDRAMERGED %}
hydradir: hydradir:
file.directory: file.directory:
@@ -38,8 +38,9 @@ hydraconfig:
- group: 928 - group: 928
- mode: 600 - mode: 600
- template: jinja - template: jinja
- makedirs: True
- defaults: - defaults:
hydraMERGED: {{ hydraMERGED }} HYDRAMERGED: {{ HYDRAMERGED }}
{% else %} {% else %}

View File

@@ -54,10 +54,8 @@ so-hydra:
{% endif %} {% endif %}
- restart_policy: unless-stopped - restart_policy: unless-stopped
- watch: - watch:
- file: hydraschema
- file: hydraconfig - file: hydraconfig
- require: - require:
- file: hydraschema
- file: hydraconfig - file: hydraconfig
- file: hydralogdir - file: hydralogdir
- file: hydradir - file: hydradir