hfm/puppet-tinyproxy

apt module dependency

deferraz opened this issue · 0 comments

Hi,

I am having some issues to instantiate the Apt class with different parameters and as far as I know debugging my environment code the tinyproxy module includes the apt module without any parameters , assuming the default ones, so when puppetserver tries to compile the catalog it shows an error to me saying the Apt class is already declared

Reading the module code I saw that the only dependency with this module is to trigger a apt-get update execution before installing the tinyproxy package, it is right?

My question is if this is really necessary (execute apt-get update before the package installation promise), I thought to create some merge request to you to remove the apt module dependency but first of all I wanna get some feedback with you. Because most of the time that you really need to execute apt-get update is only when some repository changes/ is included/ is deleted.

Thanks in advance!