%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/sos/report/plugins/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/puppet.cpython-312.pyc

�

i��d���8�ddlmZmZddlmZGd�dee�Zy)�)�Plugin�IndependentPlugin)�globc�(�eZdZdZdZdZdZd�Zd�Zy)�PuppetzPuppet service�puppet)�services)rz
puppet-commonz
puppet-server�puppetserver�puppetmasterz
puppet-masterc��|jd�d}|j�}|jddddddd	d
ddd
ddddj|�dj|�g�|jdd��|j	gd��y)N�hostname�outputz/etc/puppet/*.confz/etc/puppet/rack/*z/etc/puppet/manifests/*z /etc/puppet/ssl/ca/inventory.txtz/var/log/puppet/*.log*z/etc/puppetlabs/puppet/*.confz*/etc/puppetlabs/puppetserver/conf.d/*.confz/etc/puppetlabs/puppet/rack/*z"/etc/puppetlabs/puppet/manifests/*z+/etc/puppetlabs/puppet/ssl/ca/inventory.txtz'/var/log/puppetlabs/puppetserver/*.log*z//var/lib/puppetlabs/puppet/ssl/ca/inventory.txtz$/var/lib/puppet/ssl/ca/inventory.txtz /var/lib/puppet/ssl/certs/ca.pemz'/etc/puppetlabs/puppet/ssl/certs/{}.pemz /var/lib/puppet/ssl/certs/{}.pemz'/etc/puppetlabs/puppet/ssl/certs/ca.pem�puppet_ssl_cert_ca_pem)�tags)�facterzpuppet --versionzls -lanR /etc/puppet/modulesz%ls -lanR /etc/puppetlabs/code/modules)�exec_cmd�strip�
add_copy_spec�format�add_cmd_output)�self�	_hostnames  �;/usr/lib/python3/dist-packages/sos/report/plugins/puppet.py�setupzPuppet.setups����M�M�*�-�h�7�	��O�O�%�	���� � �%�.�$�+�8�+�0�9�5�=�2�.�5�<�<�Y�G�.�5�5�i�@�!
�	�$	
���D� 8�	�	:�	
���
�	�c�P�td�D]}|j|dddz��y)Nz/etc/puppet/device.conf*z(.*url*.ssh://.*:).*(@.*)z\1%s\2z***)r�do_file_sub)r�device_confs  r�postproczPuppet.postproc6s8��� :�;�	�K�����,��U�#�
�	�	rN)	�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesrr�rrrr
s$��!�J��K��H�A�H��@rrN)�sos.report.pluginsrrrrr'rr�<module>r)s��9��1�V�&�1r

Zerion Mini Shell 1.0