Skip to content

Commit eb2f8c5

Browse files
authored
Fix init.sls parsing
Removed dash from Jinja template... Error (Salt: 2017.7.2): ``` Data failed to compile: ---------- Rendering SLS 'base:node' failed: sequence entries are not allowed here; line 1 --- include: - .pkg - .config <====================== ```
1 parent fdbcde9 commit eb2f8c5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

node/init.sls

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{% set pillar_get = salt['pillar.get'] -%}
22
include:
3-
{%- if pillar_get('node:install_from_source') %}
3+
{% if pillar_get('node:install_from_source') %}
44
- .source
5-
{%- elif pillar_get('node:install_from_binary') %}
5+
{% elif pillar_get('node:install_from_binary') %}
66
- .binary
7-
{%- else %}
7+
{% else %}
88
- .pkg
9-
{%- endif %}
9+
{% endif %}
1010
- .config

0 commit comments

Comments
 (0)