
    ~ gt                     N    S SK JrJrJrJr   " S S\\\5      r " S S\\5      rg)    )PluginRedHatPluginDebianPluginUbuntuPluginc                   0    \ rS rSrSrSrSrSrS rS r	Sr
g	)
ForemanInstaller   z Foreman installer and maintainerforeman_installer)sysmgmt)zforeman-installerzrubygem-foreman_maintainc                 p    U R                  / SQ5        U R                  S5        U R                  S/5        g )N)z/etc/foreman-installer/*z/var/log/foreman-installer/*z/var/log/foreman-maintain/*z"/var/lib/foreman-maintain/data.ymlz//var/lib/foreman-maintain/satellite_metrics.ymlz*/etc/foreman-maintain/foreman_maintain.ymlz-/etc/foreman-installer/scenarios.d/*/.appliedz4/etc/foreman-installer/scenarios.d/*.migrations/*.rbzforeman-maintain service status)add_copy_specadd_forbidden_pathadd_cmd_output)selfs    F/usr/lib/python3/dist-packages/sos/report/plugins/foreman_installer.pysetupForemanInstaller.setup   s@     

 
	 	F	
 	-
 	    c                 &   SnSnU R                  XS5        SnU R                  XS5        U R                  USS5        U R                  SS	S5        U R                  S
SS5        U R                  SU S3SS5        U R                  SU S3SS5        g )Nz/var/log/foreman-installer/z~((foreman.*)?(\"::(foreman(.*?)|katello).*)?((::(.*)::.*(passw|cred|token|secret|key).*(\")?:)|(storepass )|(password =)))(.*)z\1 ********zZ(\s)+(Found key: (\"(foreman(.*?)|katello)::(.*(token|secret|key|passw).*)\") value:) (.*)z\1 \2 ********z%((\.|_|-)password(=\'|=|\", \"))(\w*)z
\1********z)/var/log/foreman-installer/foreman-proxy*z(\s*proxy_password\s=) (.*)z//var/log/foreman-maintain/foreman-maintain.log*z.(((passw|cred|token|secret)=)|(password ))(.*)z7(/etc/foreman-(installer|maintain)/(.*)((conf)(.*)?))|()z5((\:|\s*)(passw|cred|token|secret|key).*(\:\s|=))(.*)z;(/etc/foreman-(installer|maintain)/(.*)((yaml|yml)(.*)?))|(z\1"********")do_path_regex_sub)r   install_logslogsreglogs_debug_regs       r   postprocForemanInstaller.postproc.   s    4) 	|nE" 	|=NO4	 	7*	 	==	 	a!D		 	a!D		r    N)__name__
__module____qualname____firstlineno__
short_descplugin_nameprofilespackagesr   r   __static_attributes__r   r   r   r   r      s     3J%KH@H.$r   r   c                   (   ^  \ rS rSrU 4S jrSrU =r$ )RedHatForemanInstallerW   c                 R   > U R                  SS/SS/S.5        [        TU ]	  5         g )Nforeman_satellite_logsatellite_installer_logcapsule_logcapsule_installer_log)z(/var/log/foreman-installer/satellite.logz&/var/log/foreman-installer/capsule.log)add_file_tagssuperr   )r   	__class__s    r   r   RedHatForemanInstaller.setupY   s3    (*CD 78	
 	 	r   r   )r   r   r    r!   r   r&   __classcell__)r1   s   @r   r(   r(   W   s    	 	r   r(   N)sos.report.pluginsr   r   r   r   r   r(   r   r   r   <module>r5      s1   . .Cv|\ CP-| r   