
    Cg                     <    d dl mZmZmZ d dlmZ  G d dee      Zy)    )PluginUbuntuPluginSoSPredicate)is_executablec                   "    e Zd ZdZdZdZdZd Zy)UbuntuzUbuntu specific informationubuntu)system)zubuntu-advantage-toolszubuntu-pro-clientzupdate-manager-corec                    | j                  ddg       t        d      rd}nt        d      rd}nd}t        | dg	      }| j                  ||d
       | j                  | d|d
       | j                  d       | j	                  d      s| j                  g d       y | j                  d       | j                  d       y )Nz1ubuntu-security-status --thirdparty --unavailablezhwe-support-status --verboseuaz	ua statusproz
pro statuszubuntu-advantage statustls)kmodsT)predchangesz --format jsonz#/etc/ubuntu-advantage/uaclient.confall_logs)z/var/log/ubuntu-advantage.logz/var/log/ubuntu-advantage.log.1z /var/log/ubuntu-advantage.log.2*z#/var/log/ubuntu-advantage-timer.logz%/var/log/ubuntu-advantage-timer.log.1z&/var/log/ubuntu-advantage-timer.log.2*z/var/log/ubuntu-advantage.log*z$/var/log/ubuntu-advantage-timer.log*)add_cmd_outputr   r   add_copy_spec
get_option)selfua_tools_statusua_preds      ;/usr/lib/python3/dist-packages/sos/report/plugins/ubuntu.pysetupzUbuntu.setup   s    ?*
 	
 )O5!*O7OtE73O!($ 	 	8/~>!($ 	 	8 	@Az*    ?@EF    N)__name__
__module____qualname__
short_descplugin_nameprofilespackagesr    r   r   r   r      s    .JKHHGr   r   N)sos.report.pluginsr   r   r   sos.utilitiesr   r   r#   r   r   <module>r&      s!    B A ',GV\ ,Gr   