File: //opt/saltstack/salt/lib/python3.10/site-packages/salt/proxy/__pycache__/docker.cpython-310.pyc
o
�N�g+ � @ s: d Z dgZdZdd� Zdd� Zdd� Zdd � Zd
d� ZdS )
aa
Docker Proxy Minion
.. versionadded:: 2019.2.0
:depends: docker
This proxy minion is just a shim to the docker executor, which will use the
:py:func:`docker.call <salt.modules.dockermod.call>` for everything except
state runs.
To configure the proxy minion:
.. code-block:: yaml
proxy:
proxytype: docker
name: festive_leakey
It is also possible to just name the proxy minion the same name as the
container, and use grains to configure the proxy minion:
.. code-block:: yaml
proxy:
proxytype: docker
name: {{grains['id']}}
name
Name of the docker container
�dockerc C s( t �di ��d�tkrddt� �fS dS )N�proxyZ proxytypeFzProxytype does not match: T)Z__opts__�get�__virtualname__� r r �E/opt/saltstack/salt/lib/python3.10/site-packages/salt/proxy/docker.py�__virtual__'