isa0060/serio1/input1
      LNXPWRBN/button/input0
 »    ó
)rjc           @   sq   d  d l  m Z m Z m Z m Z d e f d „  ƒ  YZ d e e f d „  ƒ  YZ d e e e f d „  ƒ  YZ d S(	   iÿÿÿÿ(   t   Plugint   RedHatPlugint   DebianPlugint   UbuntuPlugint   Pxec           B   s/   e  Z d  Z d Z d Z d d d e f g Z RS(   s   PXE service
    t   pxet   sysmgmtt   networkt   tftpboots&   gathers content from the tftpboot patht   slow(   R   R   (   t   __name__t
   __module__t   __doc__t   plugin_namet   profilest   Falset   option_list(    (    (    s3   /usr/lib/python2.7/site-packages/sos/plugins/pxe.pyR      s
   t	   RedHatPxec           B   s   e  Z d Z d Z d „  Z RS(   s   /usr/sbin/pxeoss   system-config-netboot-cmdc         C   sP   t  t |  ƒ j ƒ  |  j d ƒ |  j d ƒ |  j d ƒ rL |  j d ƒ n  d  S(   Ns   /usr/sbin/pxeos -ls   /etc/dhcpd.confR   s	   /tftpboot(   t   superR   t   setupt   add_cmd_outputt   add_copy_spect
   get_option(   t   self(    (    s3   /usr/lib/python2.7/site-packages/sos/plugins/pxe.pyR      s
    (   s   /usr/sbin/pxeos(   s   system-config-netboot-cmd(   R
   R   t   filest   packagesR   (    (    (    s3   /usr/lib/python2.7/site-packages/sos/plugins/pxe.pyR      s   t	   DebianPxec           B   s   e  Z d Z d „  Z RS(   s	   tftpd-hpac         C   sI   t  t |  ƒ j ƒ  |  j d d g ƒ |  j d ƒ rE |  j d ƒ n  d  S(   Ns   /etc/dhcp/dhcpd.confs   /etc/default/tftpd-hpaR   s   /var/lib/tftpboot(   R   R   R   R   R   (   R   (    (    s3   /usr/lib/python2.7/site-packages/sos/plugins/pxe.pyR   &   s    
(   s	   tftpd-hpa(   R
   R   R   R   (    (    (    s3   /usr/lib/python2.7/site-packages/sos/plugins/pxe.pyR   "   s   N(   t   sos.pluginsR    R   R   R   R   R   R   (    (    (    s3   /usr/lib/python2.7/site-packages/sos/plugins/pxe.pyt   <module>	   s   "	 ¿    ó
)rjc           @   s3   d  d l  m Z m Z d e e f d „  ƒ  YZ d S(   iÿÿÿÿ(   t   Plugint   RedHatPlugint   Rearc           B   s,   e  Z d  Z d Z d Z d „  Z d „  Z RS(   s   Relax and Recover
    t   rearc         C   s=   |  j  d d g ƒ |  j d d g ƒ |  j d d g ƒ d  S(   Ns   /var/log/rear/*.isos   /var/log/rear/*.tar.gzs   /etc/rear/*confs   /var/log/rear/*log*s   rear -Vs	   rear dump(   t   add_forbidden_patht   add_copy_spect   add_cmd_output(   t   self(    (    s4   /usr/lib/python2.7/site-packages/sos/plugins/rear.pyt   setup   s    

c         C   s   |  j  d d d ƒ d  S(   Ns   /etc/rear/*s   SSH_ROOT_PASSWORD=(.*)s   SSH_ROOT_PASSWORD=********(   t   do_path_regex_sub(   R   (    (    s4   /usr/lib/python2.7/site-packages/sos/plugins/rear.pyt   postproc'   s    (   R   (   t   __name__t
   __module__t   __doc__t   plugin_namet   packagesR   R
   (    (    (    s4   /usr/lib/python2.7/site-packages/sos/plugins/rear.pyR      s
   	N(   t   sos.pluginsR    R   R   (    (    (    s4   /usr/lib/python2.7/site-packages/sos/plugins/rear.pyt   <module>   s     "   ˆl–ßi~”êh¥8 Z¸!\e•1hßÈƒh gÇÆ £    # This file is part of the sos project: https://github.com/sosreport/sos
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions of
# version 2 of the GNU General Public License.
#
# See the LICENSE file in the source distribution for further information.

from sos.plugins import Plugin, RedHatPlugin
import os

YUM_PLUGIN_PATH = "/usr/lib/yum-plugins/"


class Yum(Plugin, RedHatPlugin):
    """yum information
    """

    plugin_name = 'yum'
    profiles = ('system', 'packagemanager', 'sysmgmt')

    files = ('/etc/yum.conf',)
    packages = ('yum',)
    verify_packages = ('yum',)

    option_list = [
        ("yumlist", "list repositories and packages", "slow", False),
        ("