commit | 03b0ee418a567f4e163d3e6ca45747732ed2ac48 | [log] [tgz] |
---|---|---|
author | jan kaufman <jan.kaufman@tcpcloud.eu> | Thu Sep 17 17:10:21 2015 +0200 |
committer | jan kaufman <jan.kaufman@tcpcloud.eu> | Thu Sep 17 17:10:21 2015 +0200 |
tree | 4c09ff570b4ed94cf1c9bf236d243d4fae7b60e8 | |
parent | eeb685d22ec81a4b265a7aea3526aa56b1bd7d77 [diff] |
try to configure detected cpu count
diff --git a/heka/files/00-hekad.toml b/heka/files/00-hekad.toml index 08743c4..70a0167 100644 --- a/heka/files/00-hekad.toml +++ b/heka/files/00-hekad.toml
@@ -1,6 +1,5 @@ {%- from "heka/map.jinja" import router with context -%} [hekad] -# replace me with grains.items.num_cpus -maxprocs = 2 +maxprocs = {% salt['grains.get']('num_cpus', '2') %}