| Server IP : 198.38.94.13 / Your IP : 216.73.217.33 Web Server : Apache System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : revivere ( 1140) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/__pycache__/ |
Upload File : |
o
;j � @ s� d Z ddlZdZzddlmZ ddlmZ dZW n ey( G dd� d�ZY nw e� e
�Zd Zd
Z
dd� ZG d
d� dej�ZG dd� de�Zddd�Z ddd�ZdS )a�
Module for Sending Messages via XMPP (a.k.a. Jabber)
.. versionadded:: 2014.1.0
:depends: - sleekxmpp>=1.3.1
- pyasn1
- pyasn1-modules
- dnspython
:configuration: This module can be used by either passing a jid and password
directly to send_message, or by specifying the name of a configuration
profile in the minion config, minion pillar, or master config.
For example:
.. code-block:: yaml
my-xmpp-login:
xmpp.jid: myuser@jabber.example.org/resourcename
xmpp.password: verybadpass
The resourcename refers to the resource that is using this account. It is
user-definable, and optional. The following configurations are both valid:
.. code-block:: yaml
my-xmpp-login:
xmpp.jid: myuser@jabber.example.org/salt
xmpp.password: verybadpass
my-xmpp-login:
xmpp.jid: myuser@jabber.example.org
xmpp.password: verybadpass
� NF)�
ClientXMPP)� XMPPErrorTc @ s e Zd ZdZdS )�_ClientXMPPz9
Fake class in order not to raise errors
N)�__name__�
__module__�__qualname__�__doc__� r r �E/opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/xmpp.pyr / s r �xmppz'Use of send mask waiters is deprecated.c C s t rtS dS )zI
Only load this module if sleekxmpp is installed on this minion.
)Fz.Module xmpp: required libraries failed to load)�HAS_LIBS�__virtualname__r r r r
�__virtual__<