Skip to content
This repository has been archived by the owner on Oct 15, 2019. It is now read-only.

AWS OpsWorks install fails #87

Open
flovilmart opened this issue Apr 5, 2015 · 3 comments
Open

AWS OpsWorks install fails #87

flovilmart opened this issue Apr 5, 2015 · 3 comments

Comments

@flovilmart
Copy link

Hi,

When adding supervisor as a recipe, the installation fails (on aws AMI 2015.03).

The node["python"]["prefix_dir"] is by default unproperly set to /usr instead of /usr/local

@rhoberman
Copy link

I'm experiencing this too. That attribute is set the poise/python cookbook rather than poise/supervisor. I've forked the python cookbook for as a temporary workaround: https://github.com/rhoberman/python.

@trobrock
Copy link

Same here, seems the newer version of pip install to /usr/local rather than /usr.

Machine that worked:
pip 6.0 from /usr/lib/python2.6/site-packages (python 2.6)

Machine failing:
pip 6.1.1 from /usr/lib/python2.7/dist-packages (python 2.7)

Temp workaround in https://github.com/greenbits/supervisor

@grizo
Copy link

grizo commented Oct 31, 2015

Thanks, ended up just updating my cookbook wrapper with the following for the moment

case node.platform
when "amazon"
  default.python.prefix_dir = "/usr/local"
end

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants