charm-logrotated:stable/20.02

Last commit made on 2020-03-02
Get this branch:
git clone -b stable/20.02 https://git.launchpad.net/charm-logrotated
Members of Llama (LMA) Charmers can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
stable/20.02
Repository:
lp:charm-logrotated

Recent commits

90361cf... by Jeremy Lounder

Updated maintainers in metadata.yaml

4a23b7a... by Diko Parvanov

Re-wrote cronjob and added a override feature

Reviewed-on: https://code.launchpad.net/~llama-charmers/charm-logrotated/+git/charm-logrotated/+merge/378334
Reviewed-by: Paul Goins <email address hidden>

b2e03ef... by Jeremy Lounder

Added override feature to allow for individual files to have their own logrotate rules.

Reviewed-on: https://code.launchpad.net/~logrotate-charmers/charm-logrotated/+git/logrotate-charm/+merge/378376
Reviewed-by: Paul Goins <email address hidden>

1b715d5... by Wouter van Bommel

Added focal as a supported series

Reviewed-on: https://code.launchpad.net/~woutervb/charm-logrotated/+git/charm-logrotated/+merge/378701
Reviewed-by: Haw Loeung <email address hidden>

b2565ad... by Wouter van Bommel

Added focal as a supported series

bb135ff... by Diko Parvanov

Added maintenance status while cronjob running

57b1d63... by Diko Parvanov

Fixed a small new line issue with cron

cdeef4c... by Diko Parvanov

Re-wrote cronjob

 - Cron now runs with /usr/bin/juju-run, which executes the code inside
 the juju charm environment
 - Python is now user from the charm .venv as charmhelpers library is
 only available there
 - Cronjob is executed with sudo, because juju-run needs root privileges
 to go into the charm context

Closes-Bug: #1833723

5ec280d... by Diko Parvanov

Fixed README, config.yaml and lib_logrotate

5241c36... by Diko Parvanov

Added override option

 - Override takes highest precedence
 - Override entry in config.yaml is with default empty list [] and is a
 JSON formatted (string) field
 - Added unit tests for the new option
 - Updated README.md with new option