o ids @s&ddlmZmZGdddeeZdS))PluginIndependentPluginc@s4eZdZdZdZdZdZddZddZd d Z d S) Opensvcz:OpenSVC cluster and services (config and state collection)opensvc)clusterservicessystem)rcCsN|d|}|d}|ddkr#|dD] }|jd||dqdSdS)Nzom %s ls --color=no_statusstatusroutputzom %s print status --color=no)subdir)collect_cmd_output splitlinesadd_cmd_output)selfkindgetobjsdirnameliners