~logrotate-charmers/charm-logrotated:bugs_1833095_1833093

Last commit made on 2019-06-19
Get this branch:
git clone -b bugs_1833095_1833093 https://git.launchpad.net/~logrotate-charmers/charm-logrotated
Members of Logrotate Charmers can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
bugs_1833095_1833093
Repository:
lp:~logrotate-charmers/charm-logrotated

Recent commits

6d391ef... by Diko Parvanov

Fixed linting and unit testing

Fixed the linting to pass the tox -e lint test.
Fixed the unit testing to pass tox -e unit,
regression from previous commits.

Closes-Bug: 1833095
Closes-Bug: 1833093

8851293... by Diko Parvanov

Fixed a bug with default retention count

count variable did not have a default value
now falls back to lowest interval - days

fd4486c... by Diko Parvanov

Fixed indentation in lib_logrotate

77e4d7f... by Diko Parvanov

Fixed a bug in lib_logrotate

5b87d0c... by Diko Parvanov

Added Juju header check

When modifying the files the charm now adds headers
to inform the user that the files are maintained
by Juju and manual changes might be overwritten.

e0d47ec... by Diko Parvanov

Changed default config

Set default retention from 180 to 30 days.

6c25d17... by Diko Parvanov

Changed logrotate-cronjob-frequency to string

As proposed on LP#1832208 changed the option
from int to string

Closes-Bug: 1832208

94ca0c2... by David O Neill

Updates for cron and charm actions

Added cronjob functionality to update logrotate files
Added actions to force updating of cron/logrotate files
Decoupled from reactive framework to allow running in cronjob

da8a3c0... by Diko Parvanov

Fixed multiple typos

955fdf0... by Diko Parvanov

Fixed artifacts from previous merge