File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/__pycache__/xmpp.cpython-310.pyc
Back
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__<