puppetlabs/puppet — pull request #178 by stschulte (2011-10-25 18:18:31+00:00)
Title: Ticket/2.7.x/9544

The portage package provider on gentoo uses the helper program eix to
query packages. Eix uses a cache and the portage provider calls
eix-update in case the cache is out of date. The eix-update needs root
priviledges (or the user at least has to be in the portage group) that
may not be the case when running the specs.

Stub the update_eix method to prevent puppet from modifying the current
system when running the specs.