%PDF- %PDF-
| Direktori : /proc/self/root/proc/self/root/usr/lib/python2.7/site-packages/salt/proxy/ |
| Current File : //proc/self/root/proc/self/root/usr/lib/python2.7/site-packages/salt/proxy/docker.pyc |
�
���^c @@ s\ d Z d d l m Z m Z d g Z d Z d � Z d � Z d � Z d � Z d � Z
d S(
u`
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
i ( t absolute_importt unicode_literalsu dockerc C@ s8 t j d i � j d � t k r4 t d j t � f St S( Nu proxyu proxytypeu Proxytype does not match: {0}( t __opts__t gett __virtualname__t Falset formatt True( ( ( s5 /usr/lib/python2.7/site-packages/salt/proxy/docker.pyt __virtual__) s !c C@ s d g S( u?
List of module executors to use for this Proxy Minion
u docker( ( ( ( s5 /usr/lib/python2.7/site-packages/salt/proxy/docker.pyt module_executors/ s c C@ s t t d <d S( u
Always initialize
u initializedN( R t __context__( t opts( ( s5 /usr/lib/python2.7/site-packages/salt/proxy/docker.pyt init6 s c C@ s t j d t � S( u+
This should always be initialized
u initialized( R
R R ( ( ( s5 /usr/lib/python2.7/site-packages/salt/proxy/docker.pyt initialized= s c C@ s t t d <d S( u.
Nothing needs to be done to shutdown
u initializedN( R R
( R ( ( s5 /usr/lib/python2.7/site-packages/salt/proxy/docker.pyt shutdownD s N( t __doc__t
__future__R R t __proxyenabled__R R R R R
R ( ( ( s5 /usr/lib/python2.7/site-packages/salt/proxy/docker.pyt <module>"