Pillar targetting
diff --git a/heka/orch/generage_mon.sls b/heka/orch/generate_mon.sls
similarity index 81%
rename from heka/orch/generage_mon.sls
rename to heka/orch/generate_mon.sls
index 9574cc1..dc891cd 100644
--- a/heka/orch/generage_mon.sls
+++ b/heka/orch/generate_mon.sls
@@ -1,13 +1,13 @@
collectd_client_state_run:
salt.state:
- - tgt: 'G@roles:collecd.client'
+ - tgt: 'I@collectd:client'
- tgt_type: compound
- sls: collectd.client
heka_client_state_run:
salt.state:
- - tgt: 'G@roles:heka.metric_collector'
+ - tgt: 'I@heka:metric_collector'
- tgt_type: compound
- sls: heka.log_collector,heka.metric_collector
@@ -28,6 +28,6 @@
heka_server_state_run:
salt.state:
- - tgt: 'G@roles:heka.aggregator'
+ - tgt: 'I@heka:aggregator'
- tgt_type: compound
- sls: heka.aggregator