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)
I guess I was using older version of the python CB. Its worked as is
On Wed, Jul 31, 2013 at 10:23 AM, David Montgomery <
davidmontgomery@gmail.com> wrote:
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)