unibonn / puppet-cobald

Puppet module for COBalD/TARDIS based opportunistic resource management
Apache License 2.0
1 stars 7 forks source link

`pilot_logs_keeptime` should control cleanup via SSH cronjob for LBS with SSH auth #12

Open olifre opened 3 years ago

olifre commented 3 years ago

Currently, we have two different kinds of pilot log cleanups:

  1. Cleanup via SSH, done via a cronjob as part of install.pp: https://github.com/unibonn/puppet-cobald/blob/3a510f6a098b051efe37fa273596eef57c9fd3dc/manifests/install.pp#L252 This is fixed to 10d at the moment.
  2. Cleanup via systemd-tmpfilesd for each instance: https://github.com/unibonn/puppet-cobald/blob/3a510f6a098b051efe37fa273596eef57c9fd3dc/manifests/instance.pp#L57 This can be controlled via a smart class parameter.

It would be ideal if this could both be controlled via the same class parameter. Opening this as an issue to keep track, it is entirely non-urgent (log storage on LBSs reached via SSH is usually huge).