2009/2/26 James Turnbull <james@lovedthanlost.net>
> Hi all Gentoo people
>
*crickets* Apparently not many of us out there.
> A number of people have had issues with the current Gentoo package
> provider.
>
> There is a re-write available that uses equery instead of eix.
>
> You can see the branch and a patch at:
>
> http://projects.reductivelabs.com/issues/1658
>
> I''d really like this to get into a release soon but I can find no
one to
> test it.
>
> Can a Gentoo user please test this.
>
> Thanks
>
> James Turnbull
>
> - --
>
So I did test that patch, updated the ticket with the troubles I was having
and such, but wanted to address the logic for moving away from eix. To
start with I only use puppet on Gentoo for my home systems so things like
scalability and performance aren''t huge issues for me. That being
said,
using equery vs eix is a serious speed hit. I''ve done things to speed
up my
portage tree but it still isn''t great doing an equery to determine if a
package is installed or now. I did a couple of speed tests:
$ time equery l -o -p app-admin/puppet
[ Searching for package ''puppet'' in
''app-admin'' among: ]
* installed packages
[I--] [ ~] app-admin/puppet-0.24.7-r2 (0)
* Portage tree (/usr/portage)
* overlay tree (/usr/local/layman/sunrise
/usr/local/layman/webapps-experimental /usr/local/portage)
[--O] [ ] app-admin/puppet-0.24.4 (0)
[--O] [ ~] app-admin/puppet-0.24.7-r1 (0)
[--O] [ ~] app-admin/puppet-0.24.7-r2 (0)
real 0m0.923s
user 0m0.830s
sys 0m0.093s
$ time eix app-admin/puppet
[I] app-admin/puppet
Available versions: 0.24.4 (~)0.24.7-r1 (~)0.24.7-r2[1] {emacs ldap
rrdtool vim-syntax}
Installed versions: 0.24.7-r2[?](16:36:15 02/26/09)(ldap rrdtool
vim-syntax -emacs)
Homepage:
http://reductivelabs.com/projects/puppet/index.html
Description: A system automation and configuration management
software
[1] /usr/local/portage
real 0m0.043s
user 0m0.043s
sys 0m0.000s
Speeds are the same for non-installed packages as well. I know that using
eix can be a pita at times, but if you''re running a bunch of overlays
using
eix-sync is a better bet anyhow.
Anyhow, if people are out there running Gentoo in production with puppet and
relying on eix is causing them grief, by all means lets work and change the
provider. However, if nobody cares I''d rather have my
order-of-a-magnatude
back on my package provider.
Cheers,
.r''
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---