[chef] Re: how to use python pip to install a package


Chronological Thread 
  • From: AJ Christensen < >
  • To:
  • Subject: [chef] Re: how to use python pip to install a package
  • Date: Wed, 9 May 2012 19:16:40 +1200

You need the python cookbook in your cookbook metadata or on the edge.

Cheers,

AJ

On May 9, 2012 7:14 PM, "David Montgomery" < "> > wrote:
Hi,

The is the error I get in the chef run....

[Wed, 09 May 2012 07:06:14 +0000] FATAL: NoMethodError: undefined
method `python_pip' for #<Chef::Recipe:0x7f267f10e9b8>

Below is the code for the package I want to install.

python_pip "uwsgi" do
 action :install
end

So...what is the proper way to use pip in chef?

Thanks



Archive powered by MHonArc 2.6.16.

§