Skip to content

Commit

Permalink
about-me: Improve Moodle detection
Browse files Browse the repository at this point in the history
  • Loading branch information
markuslf committed Jul 27, 2024
1 parent 29bc556 commit 8504226
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions check-plugins/about-me/about-me
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ except ImportError:


__author__ = 'Linuxfabrik GmbH, Zurich/Switzerland'
__version__ = '2024072501'
__version__ = '2024072701'

DESCRIPTION = 'Provides a quick overview of host dimensions and software.'

Expand Down Expand Up @@ -337,7 +337,7 @@ def get_lftags():
]
},
{'sw': 'MongoDB', 'package': [], 'expr': [run_cmd('systemctl is-enabled mongod.service', ignore_output=True)]}, # pylint: disable=C0301
{'sw': 'Moodle', 'package': [], 'expr': [os.path.isdir('/var/www/html/moodle'), os.path.isdir('/var/www/moodle')]}, # pylint: disable=C0301
{'sw': 'Moodle', 'package': [], 'expr': [run_cmd('systemctl is-enabled moodle-cron.timer', ignore_output=True)]}, # pylint: disable=C0301
{'sw': 'mydumper', 'package': ['mydumper'], 'expr': [os.path.isfile('/etc/mydumper.cnf'), os.path.isfile('/usr/bin/mydumper')]}, # pylint: disable=C0301
{'sw': 'MySQL', 'package': [], 'expr': [run_cmd('systemctl is-enabled mysql.service', ignore_output=True)]}, # pylint: disable=C0301
# {'sw': 'MySQL InnoDB', 'package': [], 'expr': []}, # pylint: disable=C0301
Expand Down

0 comments on commit 8504226

Please sign in to comment.