ReliveRadio / reliveradio-plantasy

ReliveRadio Radioautomation auf Ruby on Rails Basis
www.reliveradio.de
2 stars 0 forks source link

Fix chef setup + Switch to wrapper cookbooks #60

Closed funkenstrahlen closed 10 years ago

funkenstrahlen commented 10 years ago

Currently cookbooks that required template modification were forked on github and I changed the templates. This is not best practice as I do not get upstream fixes.

Better use wrapper cookbooks: http://www.getchef.com/blog/2013/12/03/doing-wrapper-cookbooks-right/

funkenstrahlen commented 10 years ago

Working on it. Stuck at this point right now: https://stackoverflow.com/questions/24627436/unable-to-start-passenger-watchdog-but-passenger-installed

If this is resolved, it works.

Dennis-Kluge commented 10 years ago

\o/ Take your time and don't miss the game. Do you finish it today? I could test it tomorrow.

funkenstrahlen commented 10 years ago

I have to wait for a response on stackoverflow. Do not know if that happens. I also tried asking on IRC but could not find any help.

funkenstrahlen commented 10 years ago

VM builds now. However it does not compile nginx/passenger on the first run of vagrant up as the rvm environment does not get correctly applied to the vagrant session. If it breaks simply rerun the provision with vagrant provision. The new environment variables for the rvm ruby installation are then applied and it works as expected.

See this video for reference: https://i42n.auriga.uberspace.de/owncloud/public.php?service=files&t=539edceb9a1c9e17ac0d286097fee330