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
how the documentation already said i can only use ::logrotate class or logrotate::conf
i thought i can set "logrotate_args" in logrotate::conf too but it seems its not possible.
i want to use logrotate::conf and ::rules but set too the logrotate_args.
What behaviour did you expect instead
how i can do that?
Output log
if i set logrotate_args => ['-s /var/lib/logrotate/logrotate.status'], in logrotate::conf the parameter is not existing.
The text was updated successfully, but these errors were encountered:
svenvogel
changed the title
how to define correctly logrotate_args?
how to define correctly logrotate_args without ::logrotate class?
Apr 9, 2019
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
class { '::logrotate': ensure => 'latest', logrotate_args => ['-s /var/lib/logrotate/logrotate.status'], config => { dateext => true, compress => true, rotate => 4, rotate_every => 'week', ifempty => true, } }
logrotate::conf { '/etc/logrotate.conf': dateext => true, compress => true, rotate => 4, rotate_every => 'week', ifempty => true, }
What are you seeing
how the documentation already said i can only use ::logrotate class or logrotate::conf
i thought i can set "logrotate_args" in logrotate::conf too but it seems its not possible.
i want to use logrotate::conf and ::rules but set too the logrotate_args.
What behaviour did you expect instead
how i can do that?
Output log
if i set
logrotate_args => ['-s /var/lib/logrotate/logrotate.status'],
in logrotate::conf the parameter is not existing.The text was updated successfully, but these errors were encountered: