a >h!@s*ddlmZmZmZGdddeeZdS))PluginIndependentPlugin PluginOptc@s4eZdZdZdZdZdZeddddgZd d Z d S) Nginxznginx http daemonnginx)Z webserver)rlogFzcollect all nginx logs)defaultZdesccCsZ|ddg|gdgd}|dd|D|dsL|drV|d dS) Nznginx -Vznginx -T)z /etc/nginx/*z/var/log/nginx/access.logz/var/log/nginx/error.log)ZautomationcontrollerZ automationhubZautomationedacontrollercSsg|]}d|dqS)z/var/log/nginx/*).0Zaltr r ,szNginx.setup..rZall_logsz/var/log/nginx/*)Zadd_cmd_outputZ add_copy_specZadd_forbidden_pathZ get_option)selfZaltconfr r r setups z Nginx.setupN) __name__ __module__ __qualname__Z short_descZ plugin_nameZprofilesZpackagesrZ option_listrr r r r r s rN)Zsos.report.pluginsrrrrr r r r  s