File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/__pycache__/namecheap_domains_ns.cpython-310.pyc
Back
o ;j � @ s\ d Z dZzddlZW n ey dZY nw dZdd� Zdd � Zd d� Zdd � Z dd� Z dS )aa Namecheap Nameserver 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 T� NF�namecheap_domains_nsc C s t rdS dS )zH Check to make sure requests and xml are installed and requests r F)�CAN_USE_NAMECHEAP� r r �U/opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/namecheap_domains_ns.py�__virtual__) s r c C s\ t jj�d�}| |d<