403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.190
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

Youez - 2016 - github.com/yon3zu
LinuXploit