- From: Joe Williams <
>
- To:
- Subject: [chef] Re: Re: Re: Issue with easy_install_package provider
- Date: Mon, 22 Nov 2010 21:28:34 -0800
On Nov 22, 2010, at 9:01 PM, Grig Gheorghiu wrote: On Mon, Nov 22, 2010 at 8:45 PM, Joe Williams <
">
> wrote: Grig,
I happened to write that provider. I found that it is difficult to detect what python eggs are installed without attempting an import or scanning through sys.path. Currently the provider should do it in that order but it looks like it's exiting rather than getting rescued and trying to find it in the sys.path. I'll work up a patch and get back to you.
-Joe
Hi Joe Thanks for the quick reply. You're right, the original package name (dnspython) should have been found by inspecting sys.path. Not sure why it wasn't found. Here's what I get when I run this line (from https://github.com/opscode/chef/blob/master/chef/lib/chef/provider/package/easy_install.rb) on my target node:
Try this patch out (works for me on a handful of packages):
If it works for you I'll create a bug ticket and get it submitted for the next release.
-Joe
|
- [chef] Issue with easy_install_package provider, Grig Gheorghiu, 11/22/2010
- [chef] Re: Issue with easy_install_package provider, Joe Williams, 11/22/2010
- [chef] Re: Re: Issue with easy_install_package provider, Grig Gheorghiu, 11/22/2010
- [chef] Re: Re: Re: Issue with easy_install_package provider, Joe Williams, 11/22/2010
- [chef] Re: Re: Re: Re: Issue with easy_install_package provider, Grig Gheorghiu, 11/22/2010
- [chef] Re: Re: Re: Re: Re: Issue with easy_install_package provider, Joe Williams, 11/22/2010
- [chef] Re: Re: Re: Re: Re: Re: Issue with easy_install_package provider, Grig Gheorghiu, 11/22/2010
- [chef] Re: Re: Re: Re: Re: Re: Re: Issue with easy_install_package provider, Joe Williams, 11/22/2010
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Issue with easy_install_package provider, Rob Guttman, 11/23/2010
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Issue with easy_install_package provider, Rob Guttman, 11/23/2010
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Issue with easy_install_package provider, Joe Williams, 11/23/2010
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Issue with easy_install_package provider, Gilles Devaux, 11/23/2010
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Issue with easy_install_package provider, Joe Williams, 11/23/2010
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Issue with easy_install_package provider, Gilles Devaux, 11/23/2010
Archive powered by MHonArc 2.6.16.