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: admins@xmpp.example.com/salt
salt.states.xmpp.
send_msg
(name, recipient, profile)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: admins@xmpp.example.com/salt
The message to send to the XMPP user
salt.states.xmpp.
send_msg_multi
(name, profile, recipients=None, rooms=None)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:
- admins@xmpp.example.com/salt
- rooms:
- qa@conference.xmpp.example.com
The message to send to the XMPP user
Generated on June 18, 2020 at 04:09:58 UTC.
You are viewing docs for the latest stable release, 3001. Switch to docs for the previous stable release, 3000.3, or to a recent doc build from the master branch.
© 2020 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy