b6921c6e96
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
4 lines
93 B
YAML
4 lines
93 B
YAML
---
|
|
features:
|
|
- new health check for "cron" containers, ensuring it exists and has content
|