puppet-portage
puppet-portage copied to clipboard
Support externally managed make.conf
The way the module is currently set up makes it hard to use an externally managed make.conf - in my case a symlink to a remote file. This adds a parameter to skip the managing of the file, so that it can be managed externally instead.
Disabling management of make.conf and still using the portage::makeconf
type with this change will just result in a noop, as nothing will be collecting the fragments.
It's easily possible to add a define check as well to add warnings in the case that happens, but I personally don't see that as a necessity as disabling management is something that has to actively be done.