%PDF- %PDF-
| Direktori : /proc/self/root/proc/3522530/root/usr/lib/python2.7/site-packages/salt/modules/ |
| Current File : //proc/self/root/proc/3522530/root/usr/lib/python2.7/site-packages/salt/modules/key.pyc |
�
���^c @@ sV d Z d d l m Z m Z m Z d d l Z d d l Z d d � Z d d � Z
d S( u7
Functions to view the minion's public key information
i ( t absolute_importt unicode_literalst print_functionNc C@ sE | d k r t d } n t j j j t j j t d d � d | �S( u�
Return the minion's public key fingerprint
hash_type
The hash algorithm used to calculate the fingerprint
CLI Example:
.. code-block:: bash
salt '*' key.finger
u hash_typeu pki_diru
minion.pubt sum_typeN( t Nonet __opts__t saltt utilst cryptt
pem_fingert ost patht join( t hash_type( ( s4 /usr/lib/python2.7/site-packages/salt/modules/key.pyt finger s
c C@ sE | d k r t d } n t j j j t j j t d d � d | �S( u�
Return the fingerprint of the master's public key on the minion.
hash_type
The hash algorithm used to calculate the fingerprint
CLI Example:
.. code-block:: bash
salt '*' key.finger_master
u hash_typeu pki_diru minion_master.pubR N( R R R R R R R
R R ( R
( ( s4 /usr/lib/python2.7/site-packages/salt/modules/key.pyt
finger_master# s
( t __doc__t
__future__R R R R
t salt.utils.cryptR R R R ( ( ( s4 /usr/lib/python2.7/site-packages/salt/modules/key.pyt <module> s