[chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Issue with easy_install_package provider


Chronological Thread 
  • From: Gilles Devaux < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Issue with easy_install_package provider
  • Date: Tue, 23 Nov 2010 14:20:42 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=n+VDXT7MwsdDp7bvoLYmSEYqD08Fc5I8dJbyBgqfJp5VWg0VUFLNJNfeXBYIXxGk52 XPI0wXjZCP4fuTqM9ttC3GjrfGcKkEElYdxoUJmNnrI7w7rOHp2atoQEA3A7zeCBRwlM kxTsESVJdfTH786zdIPYD2C6fao6Vd77nC00M=

I came across the same problems, I created a library to handle
easy_install (also because I had to use python26 instead of python):

related to:
http://tickets.opscode.com/browse/CHEF-1633
http://tickets.opscode.com/browse/CHEF-1634

what I did:
https://gist.github.com/712637

The idea is to pass extra parameter to the install method:
version     = options.delete(:version)
module_name = options.delete(:module) || name
file_name = options.delete(:file) || name

:name is the name of the package, the arg of easy_install
-> module_name is used to get the version of an installed module
-> file_name is used to check if the package is installed

Note:
It seems http://tickets.opscode.com/browse/CHEF-1634 ;(module_name) has
been put in 0.9.12

I'll make a request for the file_name trick

--Gilles


On Tue, Nov 23, 2010 at 1:47 PM, Joe Williams 
< >
 wrote:
>
> On Nov 23, 2010, at 1:44 PM, Rob Guttman wrote:
>
>> I applied the patch correctly this time and it worked for web.py.  Nice 
>> work, Joe!
>
> Awesome, glad it worked.
>
> -Joe
>
>
> Name: Joseph A. Williams
> Email: 
> 
> Blog: http://www.joeandmotorboat.com/
> Twitter: http://twitter.com/williamsjoe
>
>



Archive powered by MHonArc 2.6.16.

§