salt.engines.redis_sentinel
An engine that reads messages from the redis sentinel pubsub and sends reactor events based on the channels they are subscribed to.
New in version 2016.3.0.
- configuration
-
Example configuration
engines: - redis_sentinel: hosts: matching: 'board*' port: 26379 interface: eth2 channels: - '+switch-master' - '+odown' - '-odown'
- depends
-
redis
- class
salt.engines.redis_sentinel.
Listener
(host=None, port=None, channels=None, tag=None) -
-
run
()
-
work
(item)
-
salt.engines.redis_sentinel.start(hosts, channels, tag=None)
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/engines/all/salt.engines.redis_sentinel.html