Saltstack Official Home Assistant Formula
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
-
- {%- set source_engine = salt['pillar.get']('home_assistant:server:source:engine') %}
-
- {%- load_yaml as base_defaults %}
- {%- if source_engine == 'git' %}
- Debian:
- pkgs:
- - python-psycopg2
- dir:
- base: /srv/home_assistant/venv
- home: /var/lib/home_assistant
- workspace: /srv/home_assistant/workspace
- RedHat:
- pkgs:
- - python-psycopg2
- dir:
- base: /srv/home_assistant/venv
- home: /var/lib/home_assistant
- workspace: /srv/home_assistant/workspace
- {%- else %}
- Debian:
- pkgs:
- - helpdesk
- dir:
- base: /usr/lib/home_assistant
- {%- endif %}
- {%- endload %}
-
- {%- set server = salt['grains.filter_by'](base_defaults, merge=salt['pillar.get']('home_assistant:server')) %}
|