File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/__pycache__/namecheap_domains.cpython-310.pyc
Back
o ;jX3 � @ s� d Z ddlZdZzddlZW n ey dZY nw e�e�Zdd� Z dd� Z dd d �Zdd� Zd d� Z dd� Zdd� Zddd�ZdS )a] Namecheap Domain Management .. versionadded:: 2017.7.0 Prerequisites ------------- This module uses the ``requests`` Python module to communicate to the namecheap API. Configuration ------------- The Namecheap username, API key and URL should be set in the minion configuration file, or in the Pillar data. .. code-block:: yaml namecheap.name: companyname namecheap.key: a1b2c3d4e5f67a8b9c0d1e2f3 namecheap.client_ip: 162.155.30.172 #Real url namecheap.url: https://api.namecheap.com/xml.response #Sandbox url #namecheap.url: https://api.sandbox.namecheap.xml.response � NTFc C s t rdS dS )zH Check to make sure requests and xml are installed and requests Znamecheap_domainsF)�CAN_USE_NAMECHEAP� r r �R/opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/namecheap_domains.py�__virtual__* s r c C sL t jj�d�}| |d<