commit | 2eb05e2fc1736f4d5382597c20aee184010b1303 | [log] [tgz] |
---|---|---|
author | jan kaufman <jan.kaufman@tcpcloud.eu> | Fri Sep 18 22:54:31 2015 +0200 |
committer | jan kaufman <jan.kaufman@tcpcloud.eu> | Fri Sep 18 22:54:31 2015 +0200 |
tree | 5d9b9c391152d2ff06492c1591839042e453c456 | |
parent | e1b55812cc7f8fefad9997bd29b0a663dfc6de7d [diff] |
refactor
diff --git a/heka/server.sls b/heka/server.sls index 88e40cf..ade7c9c 100644 --- a/heka/server.sls +++ b/heka/server.sls
@@ -30,7 +30,7 @@ - pkg: heka_packages {%- for chain in [ "input","output","decoder","encoder","filter","splitter" ] %} -{%- for name,values in server.input.iteritems() %} +{%- for name,values in server.[{{ chain }}].iteritems() %} /etc/heka/conf.d/100-{{ chain }}-{{ name }}-{{ values['engine'] }}.toml: file.managed: