-
-
Save timoguin/0c774dee2444a8ba44e6 to your computer and use it in GitHub Desktop.
Using Salt's caller interface in a runner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
opts = salt.config.minion_config('/etc/salt/minion') | |
caller = salt.client.Caller(mopts=opts) | |
caller.sminion.functions['slack.notify'](data=data) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment