We should:
- Not check what we do not set (kern.log and auth.log are already
defined in rsyslog file, which we do not template). These two
files would trigger an issue if both are in the same logrotate
configuration.
- Check that the rotation works, by forcing a rotation, and seeing
that the new files are empty.
Reviewed: https:/ /review. openstack. org/494438 /git.openstack. org/cgit/ openstack/ openstack- ansible- rsyslog_ client/ commit/ ?id=7b2cd66e972 e52e3e3acd0916b add41324d0f43d
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7b2cd66e972e52e 3e3acd0916badd4 1324d0f43d
Author: Jean-Philippe Evrard <email address hidden>
Date: Thu Aug 17 08:35:53 2017 +0000
Test postrotate works
We should:
- Not check what we do not set (kern.log and auth.log are already
defined in rsyslog file, which we do not template). These two
files would trigger an issue if both are in the same logrotate
configuration.
- Check that the rotation works, by forcing a rotation, and seeing
that the new files are empty.
Change-Id: I08357260e45919 d9e71586cac6b9c e413adffc22
Closes-Bug: 1699875
Closes-Bug: 1709291