saltstack/salt — pull request #6839 by SmithSamuelM (2013-08-21 21:17:13+00:00)
Title: Support for normalized namespaced minion and syndic events

Added 'kind' field to minion.py fire_master so can show namespaced minion and syndic events. Also
fixed master.py so uses normalized convention for showing namespaced events from minion events

minion.py has a fire master call that uses redundant event name when used with name spaced events
minion_start
syndic_start

fix leaves the old events as is but adds new namespaced events that also distiguish between minion and syndic events

new name spaced event tag
salt.minion.mid.start
salt.syndic.sid.start

Need to distinguish syndic from minion even though looks like using same
master_fire function

example of resulting fixed event

Object {tag: "salt.minion.alpha.start", data: Object}
data: Object
cmd: "_minion_event"
data: "Minion alpha started at Wed Aug 21 15:05:41 2013"
id: "alpha"
kind: "minion"
tag: "start"
tag: "salt.minion.alpha.start"