puppetlabs / puppetlabs-apt

Puppet module to help manage Apt
https://forge.puppetlabs.com/puppetlabs/apt
Apache License 2.0
216 stars 463 forks source link

Please add support for cleaning the local package cache using `apt-get clean` #1183

Open dhs-rec opened 1 month ago

dhs-rec commented 1 month ago

Use Case

/var/cache/apt/archives grows with every installed package, until an administrator executes apt-get clean.

Describe the Solution You Would Like

Have an apt::clean class similar to apt::update, but for executing apt-get clean frequently and/or triggered by package installs or updates.