You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Affected Puppet, Ruby, OS and module versions/distributions
Puppet: any
Ruby: any
Distribution: any
Module version: 5.0.0
How to reproduce (e.g Puppet code you use)
No matter whether to set 'rotate_every' parameter, the generated logrotate.conf will have a rotate time interval option (since the default value is weekly). But as logrotate manual shows, its option 'size' mutually exclusive with the time interval options. It seems when both 'size' and 'weekly/daily/etc...' are set, which is written later in logrotate.conf will take effect. Unfortunately, this puppet module always place size option before time interval option so it cannot make logrotate to rotate only according to file size.
What are you seeing
just as above
What behaviour did you expect instead
Without 'rotate_every' be setted, module should not generate a time interval option in conf file.
Output log
N/A
Any additional information you'd like to impart
N/A
The text was updated successfully, but these errors were encountered:
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
No matter whether to set 'rotate_every' parameter, the generated logrotate.conf will have a rotate time interval option (since the default value is weekly). But as logrotate manual shows, its option 'size' mutually exclusive with the time interval options. It seems when both 'size' and 'weekly/daily/etc...' are set, which is written later in logrotate.conf will take effect. Unfortunately, this puppet module always place size option before time interval option so it cannot make logrotate to rotate only according to file size.
What are you seeing
just as above
What behaviour did you expect instead
Without 'rotate_every' be setted, module should not generate a time interval option in conf file.
Output log
N/A
Any additional information you'd like to impart
N/A
The text was updated successfully, but these errors were encountered: