Skip to content

Commit

Permalink
[omnipath] Enable UbuntuPlugin
Browse files Browse the repository at this point in the history
Also add `opa-fm` service check

Signed-off-by: Arif Ali <[email protected]>
  • Loading branch information
arif-ali authored and TurboTurtle committed Dec 26, 2023
1 parent 2cd3a16 commit 2d4c74a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions sos/report/plugins/omnipath_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

from sos.report.plugins import Plugin, RedHatPlugin
from sos.report.plugins import Plugin, RedHatPlugin, UbuntuPlugin
from os.path import join


class OmnipathClient(Plugin, RedHatPlugin):
class OmnipathClient(Plugin, RedHatPlugin, UbuntuPlugin):

short_desc = 'OmniPath Tools and Fast Fabric Client'

Expand Down
5 changes: 3 additions & 2 deletions sos/report/plugins/omnipath_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,18 @@
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

from sos.report.plugins import Plugin, RedHatPlugin
from sos.report.plugins import Plugin, RedHatPlugin, UbuntuPlugin


class OmnipathManager(Plugin, RedHatPlugin):
class OmnipathManager(Plugin, RedHatPlugin, UbuntuPlugin):

short_desc = 'OmniPath Fabric Manager'

plugin_name = 'omnipath_manager'
profiles = ('hardware',)

packages = ('opa-fm',)
services = ('opa-fm',)

def setup(self):

Expand Down

0 comments on commit 2d4c74a

Please sign in to comment.