%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python2.7/site-packages/salt/client/ssh/wrapper/
Upload File :
Create Path :
Current File : //usr/lib/python2.7/site-packages/salt/client/ssh/wrapper/mine.pyo

�
���^c@@sGdZddlmZmZddlZddlZddd�ZdS(sO
Wrapper function for mine operations for salt-ssh

.. versionadded:: 2015.5.0
i(tabsolute_importtprint_functionNtglobtflatcC@stjtd�}tjt�}|j|�|rB||d<n|g|d<||d<||d<g|d<tjjj|�}i}x'|j	dt
�D]}|j|�q�Wi}	xA|D]9}
d||
kr�||
d|	|
<q�||
|	|
<q�W|	S(	s�
    Get data from the mine based on the target, function and tgt_type

    This will actually run the function on all targeted minions (like
    publish.publish), as salt-ssh clients can't update the mine themselves.

    We will look for mine_functions in the roster, pillar, and master config,
    in that order, looking for a match for the defined function

    Targets can be matched based on any standard matching system that can be
    matched on the defined roster (in salt-ssh) via these keywords::

    CLI Example:

    .. code-block:: bash

        salt-ssh '*' mine.get '*' network.interfaces
        salt-ssh '*' mine.get 'myminion' network.interfaces roster=flat
        salt-ssh '*' mine.get '192.168.5.0' network.ipaddrs roster=scan
    tmaster_optstrostertargvtselected_target_optionttgttargtminetreturn(tcopytdeepcopyt__context__t__opts__tupdatetsalttclienttsshtSSHtrun_itertTrue(Rtfunttgt_typeRtoptstminoptsRtretstrettcretthost((s@/usr/lib/python2.7/site-packages/salt/client/ssh/wrapper/mine.pytgets&






(t__doc__t
__future__RRRtsalt.client.sshRR(((s@/usr/lib/python2.7/site-packages/salt/client/ssh/wrapper/mine.pyt<module>s

Zerion Mini Shell 1.0