o i©¹dúã@s2ddlmZmZddlmZGdd„deeƒZdS)é)ÚPluginÚ UbuntuPlugin)Ú is_executablec@s eZdZdZdZdZdd„ZdS)ÚUbuntuzUbuntu specific informationÚubuntu)ÚsystemcCsˆ| ddg¡| d¡rBtdƒrd}n tdƒrd}nd}| |¡| d |¡| d ¡s6| gd ¢¡dS| d ¡| d ¡dSdS)Nz1ubuntu-security-status --thirdparty --unavailablezhwe-support-status --verbosezubuntu-advantage-toolsÚuaz ua statusÚproz pro statuszubuntu-advantage statusz%s --format jsonÚ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_outputÚ is_installedrÚ get_optionÚ add_copy_spec)ÚselfÚua_tools_status©rú;/usr/lib/python3/dist-packages/sos/report/plugins/ubuntu.pyÚsetups"þ    ëz Ubuntu.setupN)Ú__name__Ú __module__Ú __qualname__Ú short_descÚ plugin_nameÚprofilesrrrrrr s  rN)Úsos.report.pluginsrrÚ sos.utilitiesrrrrrrÚs