tripleo-common/releasenotes/notes/healthcheck-cron-37de4a861e1a1cbf.yaml
Cédric Jeanneret b6921c6e96 New health check for cron containers
This tiny script ensures we:
- have a crontab for a specified user
- this crontab isn't empty

If we don't pass a user, it defaults to root.
The emptyness takes into account puppet comments, thus we count
the lines without any leading '#'. By default, puppet adds
some environment variables before the command itself, thus we want
to have at least 2 uncommented lines.

Change-Id: I8ee23f05a2925a20d003dd85b6095fd0b559a23a
2019-04-10 10:38:07 +02:00

4 lines
93 B
YAML

---
features:
- new health check for "cron" containers, ensuring it exists and has content