puppetlabs / puppetlabs-apt

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

How to change the contents of sources.list #1041

Closed iamsumesh closed 2 years ago

iamsumesh commented 2 years ago

Please explain the steps to change the contents of sources.list

jamesps-ebi commented 2 years ago

I would also like to know this. If it's possible to modify the content of sources.list directly (instead of placing drop-in files under sources.list.d), I can't see any relevant instructions in the documentation.

chelnak commented 2 years ago

Hello!

This behaviour is something that is not supported by this module.

You could potentially achieve this by using the File resource.

Thanks!