o
    *bv  ã                   @   s&   d dl mZmZ G dd„ deeƒZdS )é    )ÚPluginÚRedHatPluginc                   @   s0   e Zd ZdZdZdZdZdZdd„ Zdd	„ Z	d
S )ÚAnacondazAnaconda installerÚanaconda)Úsystem)r   )z/var/log/anaconda.logú/var/log/anacondac                 C   s6   dg}|   d¡r| d¡ n|g d¢ }|  |¡ d S )Nú/root/anaconda-ks.cfgr   )z/var/log/anaconda.*z/root/install.logz/root/install.log.syslog)Z
path_isdirÚappendZadd_copy_spec)ÚselfÚpaths© r   ú=/usr/lib/python3/dist-packages/sos/report/plugins/anaconda.pyÚsetup   s   ÿ
zAnaconda.setupc                 C   s    |   ddd¡ |   ddd¡ d S )Nr   z(\s*rootpw\s*).*z
\1********z(user.*--password=*\s*)\s*(\S*))Zdo_file_sub)r
   r   r   r   Úpostproc+   s   ýýzAnaconda.postprocN)
Ú__name__Ú
__module__Ú__qualname__Z
short_descZplugin_nameZprofilesZpackagesÚfilesr   r   r   r   r   r   r      s    r   N)Zsos.report.pluginsr   r   r   r   r   r   r   Ú<module>   s   