Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions servicereportpkg/validate/plugins/spyre.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
from servicereportpkg.utils import is_package_installed
from servicereportpkg.check import ConfigurationFileCheck
from servicereportpkg.utils import is_read_write_to_owner_group_users
from servicereportpkg.validate.schemes.schemes import FedoraScheme, RHELScheme


class Spyre(Plugin, Scheme):
class Spyre(object):
"""Spyre configuration checks"""

def __init__(self):
Plugin.__init__(self)
self.name = Spyre.__name__
self.description = Spyre.__doc__

Expand Down Expand Up @@ -355,3 +355,18 @@ def check_sos_config(self):

sos_config_check.set_status(status)
return sos_config_check

class SpyreFedora(Spyre, Plugin, FedoraScheme):
"""Spyre Fedora configuration checks"""

def __init__(self):
Plugin.__init__(self)
Spyre.__init__(self)

class SpyreRHEL(Spyre, Plugin, RHELScheme):
"""Spyre RHEL configuration checks"""

def __init__(self):
Plugin.__init__(self)
Spyre.__init__(self)