[chef] Re: easy_install_package remote tarball installation


Chronological Thread 
  • From: "John E. Vincent (lusis)" < >
  • To:
  • Subject: [chef] Re: easy_install_package remote tarball installation
  • Date: Tue, 9 Aug 2011 16:32:26 -0400

On Tue, Aug 9, 2011 at 3:42 PM, Kevin Nuckolls 
< >
 wrote:
> On the command line I can do the following and it works!
> sudo easy_install
> http://launchpad.net/graphite/1.0/0.9.8/+download/whisper-0.9.8.tar.gz
> The corresponding resource definition fails.
> easy_install_package
> "http://launchpad.net/graphite/1.0/0.9.8/+download/whisper-0.9.8.tar.gz" do
>   action :install
> end
> INFO: Processing
> easy_install_package[http://launchpad.net/graphite/1.0/0.9.8/+download/whisper-0.9.8.tar.gz]
> action install (graphite::default line 16)
> ...
> ...
> FATAL: Chef::Exceptions::Package:
> easy_install_package[http://launchpad.net/graphite/1.0/0.9.8/+download/whisper-0.9.8.tar.gz]
> (graphite::default line 16) had an error: No version specified, and no
> candidate version available for
> http://launchpad.net/graphite/1.0/0.9.8/+download/whisper-0.9.8.tar.gz
> Is this expected? Is there a way to install a python package this way? I
> can't seem to find one.
>
>
Kevin, you can work around it by checking explicitly for the egg file.

https://gist.github.com/7d57706850fcb1fa0478

It's not very cross platform.

I got that from Darrin's graphite cookbook btw.



Archive powered by MHonArc 2.6.16.

§