Bladeren bron

Make server.source variable truly optional.

pull/2/head
Jakub Josef 6 jaren geleden
bovenliggende
commit
a4827acf38
No account linked to committer's email address
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. +2
    -2
      home_assistant/server.sls

+ 2
- 2
home_assistant/server.sls Bestand weergeven

@@ -18,7 +18,7 @@ home_assistant_install:
{%- if server.source is defined and server.source.get("engine", "git") %}
- editable: git+{{ server.source.address }}@{{ server.source.version }}#egg=homeassistant
{%- else %}
- name: homeassistant{%- if server.source.version is defined %}=={{ server.source.version }}{%- endif %}
- name: homeassistant{%- if server.get('source', {}).version is defined %}=={{ server.source.version }}{%- endif %}
{%- endif %}
- pre_releases: True
- bin_env: {{ server.dir.base }}
@@ -95,4 +95,4 @@ home_assistant_know_devices:

{%- endif %}

{%- endif %}
{%- endif %}

Laden…
Annuleren
Opslaan