charm-logrotated:bug_1833723

Last commit made on 2020-01-31
Get this branch:
git clone -b bug_1833723 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:
bug_1833723
Repository:
lp:charm-logrotated

Recent commits

bb135ff... by Diko Parvanov on 2020-01-31

Added maintenance status while cronjob running

57b1d63... by Diko Parvanov on 2020-01-31

Fixed a small new line issue with cron

cdeef4c... by Diko Parvanov on 2020-01-30

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 on 2019-10-08

Fixed README, config.yaml and lib_logrotate

5241c36... by Diko Parvanov on 2019-10-08

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

0c55181... by Diko Parvanov on 2019-10-08

Fixed linting in lib_cron

819345b... by Diko Parvanov on 2019-10-08

Small change in tox.init

64a60c1... by Diko Parvanov on 2019-10-04

Added error handling in reactive

18a05b4... by Diko Parvanov on 2019-06-19

Merge branch 'bug_1833379' into master

166da2a... by Diko Parvanov on 2019-06-19

Adding missing 'rotate' line in entries

If 'rotate' line is missing in any of the logrotate
files - add it with proper retention.

Closes Bug: 1833379