0
     ˆÂÁ787À¿  "   ˆl–ßi~”Še¶¥8 Y¸nå1hßÂƒh¹ÁÀ     # 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


class convert2rhel(Plugin, RedHatPlugin):
    """Convert2RHEL
    """
    plugin_name = 'convert2rhel'
    profiles = ('system')
    packages = ('convert2rhel')
    verify_packages = ('convert2rhel$',)

    def setup(self):

        self.add_copy_spec([
            "/var/log/convert2rhel/convert2rhel.log",
            "/var/log/convert2rhel/rpm_va.log"
        ])


# vim: set et ts=4 sw=4 :
      0
  "   	ˆl–ßi~”êh¥8 Z¸!\e¥1hßÃƒÂoÂÁ !    	ó
)rjc           @   sE   d  d l  m Z m Z m Z m Z d e e e e f d „  ƒ  YZ d S(   iÿÿÿÿ(   t   Plugint   RedHatPlugint   DebianPlugint   UbuntuPlugint   omsac           B   s5   e  Z d  Z d Z d Z d Z d	 Z d Z d „  Z RS(
   s0   Dell OpenManage Server Administrator (OMSA)
    R   t   hardwaret   debugs   /opt/dell/srvadmin/bin/omreports   srvadmin-omacorec         C   sÌ   |  j  d d d d d d g ƒ |  j d j |  j ƒ d j |  j ƒ d	 j |  j ƒ d
 j |  j ƒ d j |  j ƒ d j |  j ƒ d j |  j ƒ d j |  j ƒ d j |  j ƒ d j |  j ƒ g
 d d ƒd  S(   Ns'   /var/log/dell/updatepackage/log/supports4   /opt/dell/srvadmin/var/log/openmanage/Inventory.xml*s    /opt/dell/srvadmin/etc/omreg.cfgs)   /opt/dell/srvadmin/etc/openmanage/oma/inis(   /opt/dell/srvadmin/etc/srvadmin-deng/inis.   /opt/dell/srvadmin/etc/srvadmin-isvc/ini/d*inis   {0} system alertactions   {0} system alertlogs   {0} system cmdlogs   {0} system pedestinationss   {0} system platformeventss   {0} system summarys   {0} system eventss   {0} chassis infos   {0} chassis biossetups   {0} storage controllert   timeouti   (   t   add_copy_spect   add_cmd_outputt   formatt   omreport(   t   self(    (    s4   /usr/lib/python2.7/site-packages/sos/plugins/omsa.pyt   setup   s&    
(   R   s   debug(   s   /opt/dell/srvadmin/bin/omreport(   s   srvadmin-omacore(	   t   __name__t
   __module__t   __doc__t   plugin_namet   profilest   filest   packagesR   R   (    (    (    s4   /usr/lib/python2.7/site-packages/sos/plugins/omsa.pyR      s   N(   t   sos.pluginsR    R   R   R   R   (    (    (    s4   /usr/lib/python2.7/site-packages/sos/plugins/omsa.pyt   <module>	   s   "     ˆ¾ÃƒdÂÁ à    ó
)rjc           @   s3   d  d l  m Z m Z d e e f d „  ƒ  YZ d S(   iÿÿÿÿ(   t   Plugint   UbuntuPlugint   Maasc           B   sY   e  Z d  Z d Z d Z d Z d Z d d d g Z d „  Z d „  Z	 d „  Z
 d „  Z RS(   s   Ubuntu Metal-As-A-Service
    t   maast   sysmgmts   maas-commons
   maas-dhcpds   maas-dhcpd6s	   maas-https
   maas-proxys
   maas-rackds   maas-regionds   maas-syslogs   profile-names7   The name with which you will later refer to this remotet    t   urls   The URL of the remote APIt   credentialss*   The credentials, also known as the API keyc         C   s+   |  j  d ƒ o* |  j  d ƒ o* |  j  d ƒ S(   NR   R   s   profile-name(   t
   get_option(   t   self(    (    s4   /usr/lib/python2.7/site-packages/sos/plugins/maas.pyt   _has_login_options(   s    c         C   sE   |  j  d |  j d ƒ |  j d ƒ |  j d ƒ f ƒ } | d d k S(   Ns   maas login %s %s %ss   profile-nameR   R   t   statusi    (   t   exec_cmdR   (   R	   t   ret(    (    s4   /usr/lib/python2.7/site-packages/sos/plugins/maas.pyt   _remote_api_login,   s    c         C   sÁ   |  j  d d d d d d g ƒ |  j d d g ƒ x! |  j D] } |  j d	 | ƒ q< W|  j d
 ƒ rx |  j d g ƒ n  |  j ƒ  r½ | 