Skip to content

Instantly share code, notes, and snippets.

@reedox
Created April 25, 2014 23:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reedox/b81b3d054359b5992dfd to your computer and use it in GitHub Desktop.
Save reedox/b81b3d054359b5992dfd to your computer and use it in GitHub Desktop.
import salt.utils.event
sock_dir = '/var/run/salt/minion'
event = salt.utils.event.SaltEvent('master', sock_dir)
event.fire_event({'mess': 'mooo'}, 'deploy')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment