salt.states.xmpp
Sending Messages over XMPP
New in version 2014.1.0.
This state is useful for firing messages during state runs, using the XMPP protocol
server-warning-message: xmpp.send_msg: - name: 'This is a server warning message' - profile: my-xmpp-account - recipient: [email protected]/salt
-
Send a message to an XMPP user
server-warning-message: xmpp.send_msg: - name: 'This is a server warning message' - profile: my-xmpp-account - recipient: [email protected]/salt
- name
-
The message to send to the XMPP user
salt.states.xmpp.send_msg(name, recipient, profile)
-
Send a message to an list of recipients or rooms
server-warning-message: xmpp.send_msg: - name: 'This is a server warning message' - profile: my-xmpp-account - recipients: - [email protected]/salt - rooms: - [email protected]
- name
-
The message to send to the XMPP user
salt.states.xmpp.send_msg_multi(name, profile, recipients=None, rooms=None)
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/states/all/salt.states.xmpp.html