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') %}