commit | f122e6b5d55cbc0391521fe8d49fa4e0ecf01480 | [log] [tgz] |
---|---|---|
author | Swann Croiset <scroiset@mirantis.com> | Mon Dec 12 15:37:26 2016 +0100 |
committer | Swann Croiset <scroiset@mirantis.com> | Tue Dec 13 17:18:30 2016 +0100 |
tree | 7b6502184ab1f2b5c31c3922886029fc1e5b89f3 | |
parent | a7cf2d5214185873e54b036bbc4db10e8f935b87 [diff] |
Support legacy heka.server without parse error
diff --git a/heka/server.sls b/heka/server.sls index c2de1a0..888f04c 100644 --- a/heka/server.sls +++ b/heka/server.sls
@@ -1,5 +1,5 @@ {%- from "heka/map.jinja" import server with context %} -{%- if server.enabled %} +{%- if server.enabled is defined and server.enabled %} heka_packages: pkg.latest: @@ -198,4 +198,4 @@ {%- endif %} {%- endfor %} -{%- endif %} \ No newline at end of file +{%- endif %}