403Webshell
Server IP : 195.114.193.97  /  Your IP : 216.73.217.93
Web Server : LiteSpeed
System : Linux host 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 x86_64
User : sembi4241 ( 1126)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
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-310.pyc
o

-�_g��@s2ddlmZddlmZmZGdd�dee�ZdS)�)�glob)�Plugin�IndependentPluginc@s,eZdZdZdZdZdZdd�Zdd�Zd	S)
�PuppetzPuppet service�puppet)�services)rz
puppet-commonz
puppet-server�puppetserver�puppetmasterz
puppet-mastercCs�|�d�d}|��}|�ddddddd	d
ddd
dddd|�d�d|�d�g�|jddd�|�ddg�|jddgdd�dS)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/z.pemz/var/lib/puppet/ssl/certs/z'/etc/puppetlabs/puppet/ssl/certs/ca.pem�puppet_ssl_cert_ca_pem)�tags�facterzpuppet --versionz/etc/puppet/modulesz/etc/puppetlabs/code/modulesT)�	recursive)�exec_cmd�strip�
add_copy_spec�add_cmd_output�add_dir_listing)�self�	_hostname�r�;/usr/lib/python3/dist-packages/sos/report/plugins/puppet.py�setupsB

����
�zPuppet.setupcCs td�D]	}|�|dd�qdS)Nz/etc/puppet/device.conf*z(.*url*.ssh://.*:).*(@.*)z\1***\2)r�do_file_sub)r�device_confrrr�postproc9s��zPuppet.postprocN)	�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesrrrrrrr
s#rN)r�sos.report.pluginsrrrrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit