An engine that reads messages from Slack and sends them to the Salt
event bus. Alternatively Salt commands can be sent to the Salt master
via Slack by setting the control parameter to True
and using command
prefaced with a !
.
configuration: | Example configuration engines:
- slack:
token: 'xoxb-xxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx'
control: True
valid_users:
- garethgreenaway
valid_commands:
- test.ping
- cmd.run
aliases:
list_jobs:
type: runner
cmd: jobs.list_jobs
|
---|---|
depends: | slackclient |
salt.engines.slack.
start
(token, aliases=None, valid_users=None, valid_commands=None, control=False, tag='salt/engines/slack')¶Listen to Slack events and forward them to Salt
Docs for previous releases are available on readthedocs.org.
Latest Salt release: 2016.3.0
salt.engines.redis_sentinel module