Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rangertaha/node-salt-events
This node module is used to fire events using the Salt Events System. This enables node applications to send events on the salt events bus.
https://github.com/rangertaha/node-salt-events
Last synced: 6 days ago
JSON representation
This node module is used to fire events using the Salt Events System. This enables node applications to send events on the salt events bus.
- Host: GitHub
- URL: https://github.com/rangertaha/node-salt-events
- Owner: rangertaha
- Created: 2014-04-07T02:59:11.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-04-08T13:05:33.000Z (over 10 years ago)
- Last Synced: 2024-12-15T09:58:58.825Z (13 days ago)
- Language: Python
- Homepage:
- Size: 191 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Salt Events
===========This module is used to fire events using the Salt Events System. This enables node applications to send events on the salt events bus.
Salt is a powerful configuration management system and remote execution framework. Salt has many parts, one of which is the Salt Event System. This is a socket bus allowing minions and masters to send events/messages.
* Website: http://www.saltstack.com
* Repo: https://github.com/saltstackRequirements
-----------* nodejs
* salt-minionInstalling
-----------npm install saltevents
Application Usage
-----------// Import the saltevents module
var saltEvents = require('saltevents');payload = {
'hello': 'world',
'status': 'success'
}// Send payload to local bus
saltEvents.local(payload, 'tag');// Send payload to the master
saltEvents.master(payload, 'tag');ToDO
----* Use on the command line
* Send events to the minion from the master
* Get events from the socket
* Listen for events on the socket and process it with callback function