Merge ~cjwatson/launchpad-layers:cron-support into launchpad-layers:main
Proposed by
Colin Watson
Status: | Merged |
---|---|
Merged at revision: | ead45e3e5f7bbf21e81de102ffee6f98cbbfd317 |
Proposed branch: | ~cjwatson/launchpad-layers:cron-support |
Merge into: | launchpad-layers:main |
Diff against target: |
104 lines (+60/-0) 2 files modified
launchpad-base/config.yaml (+4/-0) launchpad-base/lib/charms/launchpad/base.py (+56/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Launchpad code reviewers | Pending | ||
Review via email: mp+439398@code.launchpad.net |
Commit message
Support crontab handling
Description of the change
Add a `configure_cron` function that sets up a crontab from a template.
Launchpad's crontabs generally include a call to `oops-datedir2amqp` to catch up with publishing OOPSes that were temporarily spooled to disk. This needs a bit of extra support in building the config dictionary, since it needs RabbitMQ credentials in a different form.
To post a comment you must log in.