File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/cloud/clouds/__pycache__/gogrid.cpython-310.pyc
Back
o ;j�5 � @ s d Z ddlZddlZddlZddlmZ ddlZddlZddl m Z mZ e�e �ZdZdd� Zdd� Zd d � Zdd� Zd-dd�Zd.dd�Zd.dd�Zdd� Zdd� Zdd� Zd/dd�Zd/dd�Zd/dd�Zd.d d!�Zd.d"d#�Zd.d$d%�Zd.d&d'�Z d.d(d)�Z! d0d+d,�Z"dS )1a� GoGrid Cloud Module ==================== The GoGrid cloud module. This module interfaces with the gogrid public cloud service. To use Salt Cloud with GoGrid log into the GoGrid web interface and create an api key. Do this by clicking on "My Account" and then going to the API Keys tab. Set up the cloud configuration at ``/etc/salt/cloud.providers`` or ``/etc/salt/cloud.providers.d/gogrid.conf``: .. code-block:: yaml my-gogrid-config: # The generated api key to use apikey: asdff7896asdh789 # The apikey's shared secret sharedsecret: saltybacon driver: gogrid .. note:: A Note about using Map files with GoGrid: Due to limitations in the GoGrid API, instances cannot be provisioned in parallel with the GoGrid driver. Map files will work with GoGrid, but the ``-P`` argument should not be used on maps referencing GoGrid instances. .. note:: A Note about using Map files with GoGrid: Due to limitations in the GoGrid API, instances cannot be provisioned in parallel with the GoGrid driver. Map files will work with GoGrid, but the ``-P`` argument should not be used on maps referencing GoGrid instances. � N)�SaltCloudException�SaltCloudSystemExit�gogridc C s t � du rdS tS )z" Check for GoGrid configs F)�get_configured_provider�__virtualname__� r r �L/opt/saltstack/salt/lib/python3.10/site-packages/salt/cloud/clouds/gogrid.py�__virtual__8 s r c C s"