Browse Source

Make server.source variable truly optional.

pull/2/head
Jakub Josef 7 years ago
parent
commit
a4827acf38
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      home_assistant/server.sls

+ 2
- 2
home_assistant/server.sls View File

@@ -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 %}

Loading…
Cancel
Save