%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python2.7/site-packages/salt/runners/
Upload File :
Create Path :
Current File : //lib/python2.7/site-packages/salt/runners/saltutil.pyc

�
���^c@@s�dZddlmZmZmZddlZddlZeje	�Z
dddd�Zdddd�Z
dddd�Zdddd�Zdddd	�Zdddd
�Zdddd�Zdddd�Zdddd
�Zdddd�Zdddd�Zdddd�Zdddd�Zdddd�Zdddd�Zdddd�Zdddd�Zdddd�Zdddd�Zdddd�Zdddd�Z dddd�Z!dddd�Z"dS(u�
The Saltutil runner is used to sync custom types to the Master. See the
:mod:`saltutil module <salt.modules.saltutil>` for documentation on
managing updates to minions.

.. versionadded:: 2016.3.0
i(tabsolute_importtprint_functiontunicode_literalsNubasecC@s�tjd�i}td|d|d|�|d<td|d|d|�|d<td|d|d|�|d<td|d|d|�|d<td|d|d|�|d	<td|d|d|�|d
<td|d|d|�|d<t	d|d|d|�|d<t
d|d|d|�|d
<td|d|d|�|d<td|d|d|�|d<t
d|d|d|�|d<td|d|d|�|d<td|d|d|�|d<td|d|d|�|d<td|d|d|�|d<td|d|d|�|d<td|d|d|�|d<td|d|d|�|d<td|d|d|�|d<td|d|d|�|d<|S(u
    Sync all custom types

    saltenv : base
        The fileserver environment from which to sync. To sync from more than
        one environment, pass a comma-separated list.

    extmod_whitelist : None
        dictionary of modules to sync based on type

    extmod_blacklist : None
        dictionary of modules to blacklist based on type

    CLI Example:

    .. code-block:: bash

        salt-run saltutil.sync_all
        salt-run saltutil.sync_all extmod_whitelist={'runners': ['custom_runner'], 'grains': []}
    uSyncing alltsaltenvtextmod_whitelisttextmod_blacklistucloudsumodulesustatesugrainsu	renderersu	returnersuoutputuproxymodulesurunnersuwheeluenginesuthoriumuqueuesupillaruutilsusdbucacheu
fileserverutopsutokensuserializers(tlogtdebugtsync_cloudstsync_modulestsync_statestsync_grainstsync_rendererstsync_returnerstsync_outputtsync_proxymodulestsync_runnerst
sync_wheeltsync_enginestsync_thoriumtsync_queuestsync_pillart
sync_utilstsync_sdbt
sync_cachetsync_fileservert	sync_topstsync_eauth_tokenstsync_serializers(RRRtret((s9/usr/lib/python2.7/site-packages/salt/runners/saltutil.pytsync_alls6



c	C@s,tjjjtdd|d|d|�dS(u�
    Sync execution modules from ``salt://_modules`` to the master

    saltenv : base
        The fileserver environment from which to sync. To sync from more than
        one environment, pass a comma-separated list.

    extmod_whitelist : None
        comma-seperated list of modules to sync

    extmod_blacklist : None
        comma-seperated list of modules to blacklist based on type

    CLI Example:

    .. code-block:: bash

        salt-run saltutil.sync_modules
    umodulesRRRi(tsalttutilstextmodstsynct__opts__(RRR((s9/usr/lib/python2.7/site-packages/salt/runners/saltutil.pyR	Fs!c	C@s,tjjjtdd|d|d|�dS(u�
    Sync state modules from ``salt://_states`` to the master

    saltenv : base
        The fileserver environment from which to sync. To sync from more than
        one environment, pass a comma-separated list.

    extmod_whitelist : None
        comma-seperated list of modules to sync

    extmod_blacklist : None
        comma-seperated list of modules to blacklist based on type

    CLI Example:

    .. code-block:: bash

        salt-run saltutil.sync_states
    ustatesRRRi(RR R!R"R#(RRR((s9/usr/lib/python2.7/site-packages/salt/runners/saltutil.pyR
^s!c	C@s,tjjjtdd|d|d|�dS(u�
    Sync grains modules from ``salt://_grains`` to the master

    saltenv : base
        The fileserver environment from which to sync. To sync from more than
        one environment, pass a comma-separated list.

    extmod_whitelist : None
        comma-seperated list of modules to sync

    extmod_blacklist : None
        comma-seperated list of modules to blacklist based on type

    CLI Example:

    .. code-block:: bash

        salt-run saltutil.sync_grains
    ugrainsRRRi(RR R!R"R#(RRR((s9/usr/lib/python2.7/site-packages/salt/runners/saltutil.pyRvs!c	C@s,tjjjtdd|d|d|�dS(u�
    Sync renderer modules from from ``salt://_renderers`` to the master

    saltenv : base
        The fileserver environment from which to sync. To sync from more than
        one environment, pass a comma-separated list.

    extmod_whitelist : None
        comma-seperated list of modules to sync

    extmod_blacklist : None
        comma-seperated list of modules to blacklist based on type

    CLI Example:

    .. code-block:: bash

        salt-run saltutil.sync_renderers
    u	renderersRRRi(RR R!R"R#(RRR((s9/usr/lib/python2.7/site-packages/salt/runners/saltutil.pyR�s!c	C@s,tjjjtdd|d|d|�dS(u�
    Sync returner modules from ``salt://_returners`` to the master

    saltenv : base
        The fileserver environment from which to sync. To sync from more than
        one environment, pass a comma-separated list.

    extmod_whitelist : None
        comma-seperated list of modules to sync

    extmod_blacklist : None
        comma-seperated list of modules to blacklist based on type

    CLI Example:

    .. code-block:: bash

        salt-run saltutil.sync_returners
    u	returnersRRRi(RR R!R"R#(RRR((s9/usr/lib/python2.7/site-packages/salt/runners/saltutil.pyR
�s!c	C@s,tjjjtdd|d|d|�dS(u�
    Sync output modules from ``salt://_output`` to the master

    saltenv : base
        The fileserver environment from which to sync. To sync from more than
        one environment, pass a comma-separated list.

    extmod_whitelist : None
        comma-seperated list of modules to sync

    extmod_blacklist : None
        comma-seperated list of modules to blacklist based on type

    CLI Example:

    .. code-block:: bash

        salt-run saltutil.sync_output
    uoutputRRRi(RR R!R"R#(RRR((s9/usr/lib/python2.7/site-packages/salt/runners/saltutil.pyR�s!c	C@s,tjjjtdd|d|d|�dS(u�
    Sync proxy modules from ``salt://_proxy`` to the master

    saltenv : base
        The fileserver environment from which to sync. To sync from more than
        one environment, pass a comma-separated list.

    extmod_whitelist : None
        comma-seperated list of modules to sync

    extmod_blacklist : None
        comma-seperated list of modules to blacklist based on type

    CLI Example:

    .. code-block:: bash

        salt-run saltutil.sync_proxy
    uproxyRRRi(RR R!R"R#(RRR((s9/usr/lib/python2.7/site-packages/salt/runners/saltutil.pyR�s!c	C@s,tjjjtdd|d|d|�dS(u�
    Sync runners from ``salt://_runners`` to the master

    saltenv : base
        The fileserver environment from which to sync. To sync from more than
        one environment, pass a comma-separated list.

    extmod_whitelist : None
        comma-seperated list of modules to sync

    extmod_blacklist : None
        comma-seperated list of modules to blacklist based on type

    CLI Example:

    .. code-block:: bash

        salt-run saltutil.sync_runners
    urunnersRRRi(RR R!R"R#(RRR((s9/usr/lib/python2.7/site-packages/salt/runners/saltutil.pyR�s!c	C@s,tjjjtdd|d|d|�dS(u�
    Sync wheel modules from ``salt://_wheel`` to the master

    saltenv : base
        The fileserver environment from which to sync. To sync from more than
        one environment, pass a comma-separated list.

    extmod_whitelist : None
        comma-seperated list of modules to sync

    extmod_blacklist : None
        comma-seperated list of modules to blacklist based on type

    CLI Example:

    .. code-block:: bash

        salt-run saltutil.sync_wheel
    uwheelRRRi(RR R!R"R#(RRR((s9/usr/lib/python2.7/site-packages/salt/runners/saltutil.pyRs!c	C@s,tjjjtdd|d|d|�dS(u�
    Sync engines from ``salt://_engines`` to the master

    saltenv : base
        The fileserver environment from which to sync. To sync from more than
        one environment, pass a comma-separated list.

    extmod_whitelist : None
        comma-seperated list of modules to sync

    extmod_blacklist : None
        comma-seperated list of modules to blacklist based on type

    CLI Example:

    .. code-block:: bash

        salt-run saltutil.sync_engines
    uenginesRRRi(RR R!R"R#(RRR((s9/usr/lib/python2.7/site-packages/salt/runners/saltutil.pyRs!c	C@s,tjjjtdd|d|d|�dS(u�
    .. versionadded:: 2018.3.0

    Sync Thorium from ``salt://_thorium`` to the master

    saltenv: ``base``
        The fileserver environment from which to sync. To sync from more than
        one environment, pass a comma-separated list.

    extmod_whitelist
        comma-seperated list of modules to sync

    extmod_blacklist
        comma-seperated list of modules to blacklist based on type

    CLI Example:

    .. code-block:: bash

        salt-run saltutil.sync_thorium
    uthoriumRRRi(RR R!R"R#(RRR((s9/usr/lib/python2.7/site-packages/salt/runners/saltutil.pyR6s!c	C@s,tjjjtdd|d|d|�dS(u�
    Sync queue modules from ``salt://_queues`` to the master

    saltenv : base
        The fileserver environment from which to sync. To sync from more than
        one environment, pass a comma-separated list.

    extmod_whitelist : None
        comma-seperated list of modules to sync

    extmod_blacklist : None
        comma-seperated list of modules to blacklist based on type

    CLI Example:

    .. code-block:: bash

        salt-run saltutil.sync_queues
    uqueuesRRRi(RR R!R"R#(RRR((s9/usr/lib/python2.7/site-packages/salt/runners/saltutil.pyRPs!c	C@s,tjjjtdd|d|d|�dS(u�
    Sync pillar modules from ``salt://_pillar`` to the master

    saltenv : base
        The fileserver environment from which to sync. To sync from more than
        one environment, pass a comma-separated list.

    extmod_whitelist : None
        comma-seperated list of modules to sync

    extmod_blacklist : None
        comma-seperated list of modules to blacklist based on type

    CLI Example:

    .. code-block:: bash

        salt-run saltutil.sync_pillar
    upillarRRRi(RR R!R"R#(RRR((s9/usr/lib/python2.7/site-packages/salt/runners/saltutil.pyRhs!c	C@s,tjjjtdd|d|d|�dS(u�
    .. versionadded:: 2016.11.0

    Sync utils modules from ``salt://_utils`` to the master

    saltenv : base
        The fileserver environment from which to sync. To sync from more than
        one environment, pass a comma-separated list.

    extmod_whitelist : None
        comma-seperated list of modules to sync

    extmod_blacklist : None
        comma-seperated list of modules to blacklist based on type

    CLI Example:

    .. code-block:: bash

        salt-run saltutil.sync_utils
    uutilsRRRi(RR R!R"R#(RRR((s9/usr/lib/python2.7/site-packages/salt/runners/saltutil.pyR�s!c	C@s,tjjjtdd|d|d|�dS(u�
    .. versionadded:: 2017.7.0

    Sync sdb modules from ``salt://_sdb`` to the master

    saltenv : base
        The fileserver environment from which to sync. To sync from more than
        one environment, pass a comma-separated list.

    extmod_whitelist : None
        comma-seperated list of modules to sync

    extmod_blacklist : None
        comma-seperated list of modules to blacklist based on type

    CLI Example:

    .. code-block:: bash

        salt-run saltutil.sync_sdb
    usdbRRRi(RR R!R"R#(RRR((s9/usr/lib/python2.7/site-packages/salt/runners/saltutil.pyR�s!c	C@s,tjjjtdd|d|d|�dS(ub
    .. versionadded:: 2016.3.7,2016.11.4,2017.7.0

    Sync master_tops modules from ``salt://_tops`` to the master

    saltenv : base
        The fileserver environment from which to sync. To sync from more than
        one environment, pass a comma-separated list.

    CLI Example:

    .. code-block:: bash

        salt-run saltutil.sync_tops
    utopsRRRi(RR R!R"R#(RRR((s9/usr/lib/python2.7/site-packages/salt/runners/saltutil.pyR�s!c	C@s,tjjjtdd|d|d|�dS(u�
    .. versionadded:: 2017.7.0

    Sync cache modules from ``salt://_cache`` to the master

    saltenv : base
        The fileserver environment from which to sync. To sync from more than
        one environment, pass a comma-separated list.

    extmod_whitelist : None
        comma-seperated list of modules to sync

    extmod_blacklist : None
        comma-seperated list of modules to blacklist based on type

    CLI Example:

    .. code-block:: bash

        salt-run saltutil.sync_cache
    ucacheRRRi(RR R!R"R#(RRR((s9/usr/lib/python2.7/site-packages/salt/runners/saltutil.pyR�s!c	C@s,tjjjtdd|d|d|�dS(u
    .. versionadded:: 2018.3.0

    Sync fileserver modules from ``salt://_fileserver`` to the master

    saltenv : base
        The fileserver environment from which to sync. To sync from more than
        one environment, pass a comma-separated list.

    extmod_whitelist : None
        comma-seperated list of modules to sync

    extmod_blacklist : None
        comma-seperated list of modules to blacklist based on type

    CLI Example:

    .. code-block:: bash

        salt-run saltutil.sync_fileserver
    u
fileserverRRRi(RR R!R"R#(RRR((s9/usr/lib/python2.7/site-packages/salt/runners/saltutil.pyR�s!c	C@s,tjjjtdd|d|d|�dS(u�
    .. versionadded:: 2017.7.0

    Sync cloud modules from ``salt://_clouds`` to the master

    saltenv : base
        The fileserver environment from which to sync. To sync from more than
        one environment, pass a comma-separated list.

    extmod_whitelist : None
        comma-seperated list of modules to sync

    extmod_blacklist : None
        comma-seperated list of modules to blacklist based on type

    CLI Example:

    .. code-block:: bash

        salt-run saltutil.sync_clouds
    ucloudsRRRi(RR R!R"R#(RRR((s9/usr/lib/python2.7/site-packages/salt/runners/saltutil.pyR�s!c	C@s,tjjjtdd|d|d|�dS(u�
    .. versionadded:: 2017.7.0

    Sync roster modules from ``salt://_roster`` to the master

    saltenv : base
        The fileserver environment from which to sync. To sync from more than
        one environment, pass a comma-separated list.

    extmod_whitelist : None
        comma-seperated list of modules to sync

    extmod_blacklist : None
        comma-seperated list of modules to blacklist based on type

    CLI Example:

    .. code-block:: bash

        salt-run saltutil.sync_roster
    urosterRRRi(RR R!R"R#(RRR((s9/usr/lib/python2.7/site-packages/salt/runners/saltutil.pytsync_rosters!c	C@s,tjjjtdd|d|d|�dS(u
    .. versionadded:: 2018.3.0

    Sync eauth token modules from ``salt://_tokens`` to the master

    saltenv : base
        The fileserver environment from which to sync. To sync from more than
        one environment, pass a comma-separated list.

    extmod_whitelist : None
        comma-seperated list of modules to sync

    extmod_blacklist : None
        comma-seperated list of modules to blacklist based on type

    CLI Example:

    .. code-block:: bash

        salt-run saltutil.sync_eauth_tokens
    utokensRRRi(RR R!R"R#(RRR((s9/usr/lib/python2.7/site-packages/salt/runners/saltutil.pyR0s!c	C@s,tjjjtdd|d|d|�dS(u
    .. versionadded:: 2019.2.0

    Sync serializer modules from ``salt://_serializers`` to the master

    saltenv : base
        The fileserver environment from which to sync. To sync from more than
        one environment, pass a comma-separated list.

    extmod_whitelist : None
        comma-seperated list of modules to sync

    extmod_blacklist : None
        comma-seperated list of modules to blacklist based on type

    CLI Example:

    .. code-block:: bash

        salt-run saltutil.sync_utils
    userializersRRRi(RR R!R"R#(RRR((s9/usr/lib/python2.7/site-packages/salt/runners/saltutil.pyRJs!(#t__doc__t
__future__RRRtloggingtsalt.utils.extmodsRt	getLoggert__name__RtNoneRR	R
RRR
RRRRRRRRRRRRRRR$RR(((s9/usr/lib/python2.7/site-packages/salt/runners/saltutil.pyt<module>s62

Zerion Mini Shell 1.0