Browse Source

Merge pull request #2 from jakubjosef/master

Make server.source variable truly optional.
clean-build-dependencies
Aleš Komárek 6 years ago
parent
commit
c7dd057d7a
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