%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python2.7/site-packages/salt/states/
Upload File :
Create Path :
Current File : //lib/python2.7/site-packages/salt/states/salt_proxy.pyo

�
���^c@@sPdZddlmZmZmZddlZeje�Zde	d�Z
dS(uB
    Salt proxy state

    .. versionadded:: 2015.8.2

    State to deploy and run salt-proxy processes
    on a minion.

    Set up pillar data for your proxies per the documentation.

    Run the state as below

    ..code-block:: yaml

        salt-proxy-configure:
            salt_proxy.configure_proxy:
                - proxyname: p8000
                - start: True

    This state will configure the salt proxy settings
    within /etc/salt/proxy (if /etc/salt/proxy doesn't exists)
    and start the salt-proxy process (default true),
    if it isn't already running.
i(tabsolute_importtunicode_literalstprint_functionNup8000cC@s>td|d|�}|ji|d6dj|�d6�|S(u�
    Create the salt proxy file and start the proxy process
    if required

    Parameters:
        name:
            The name of this state
        proxyname:
            Name to be used for this proxy (should match entries in pillar)
        start:
            Boolean indicating if the process should be started

    Example:

    ..code-block:: yaml

        salt-proxy-configure:
            salt_proxy.configure_proxy:
                - proxyname: p8000
                - start: True

    usalt_proxy.configure_proxytstartunameu{0} config messagesucomment(t__salt__tupdatetformat(tnamet	proxynameRtret((s:/usr/lib/python2.7/site-packages/salt/states/salt_proxy.pytconfigure_proxy!s
		(t__doc__t
__future__RRRtloggingt	getLoggert__name__tlogtTrueR
(((s:/usr/lib/python2.7/site-packages/salt/states/salt_proxy.pyt<module>s

Zerion Mini Shell 1.0