[chef] How to I use python pip?


Chronological Thread 
  • From: David Montgomery < >
  • To:
  • Subject: [chef] How to I use python pip?
  • Date: Wed, 31 Jul 2013 10:23:50 +0800

Is there any easier way to use python pip rather that the python cookbook?  Trying to get rid of my executes. In the python cookbook I just want to use pip. 

Here is my recipe for flask

include_recipe "python::pip"
python_pip "Flask" do
  version "0.10"
  action :install
end

Here are relevant parts of the run list

"recipe[python::pip]","recipe[flask]"



Here is what happens with my chef run
Starting Chef Client, version 11.6.0
Compiling Cookbooks...
[2013-07-31T10:21:05+08:00] ERROR: Running exception handlers
[2013-07-31T10:21:05+08:00] ERROR: Exception handlers complete
[2013-07-31T10:21:05+08:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated
[2013-07-31T10:21:05+08:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)




Archive powered by MHonArc 2.6.16.

§