millisami / chef-errbit

Chef cookbook that deploys errbit project
Other
13 stars 20 forks source link

Major overhaul, current Errbit master, systemd + Puma #9

Open chewi opened 9 years ago

chewi commented 9 years ago

I present a general overhaul of the entire cookbook. It now works with current Errbit master (about to be v0.4.0) on CentOS 7.1 using systemd and Puma. It also still works on Ubuntu 12.04 using SysVinit and Unicorn. It includes the changes from #4 as I also wanted to use either rbenv or RVM. It supersedes #3 and #6.

I didn't change the Gemfile as cookbook developers are now expected to use ChefDK to install things like kitchen-vagrant. I didn't change the Vagrantfile either as Kitchen now provides a more convenient workflow. Feel free to delete these.

There are obviously a lot of changes to review here. If you're short on time then perhaps you should merge it anyway on the basis that your cookbook doesn't currently work at all with recent releases of Errbit or recent releases of Linux distributions.

Knowing where you are in the world though, I suspect you have much bigger things to worry about right now. I hope you're well and thank you for giving me a starting point. It saved a lot of time.

chewi commented 9 years ago

Sorry if you're getting spammed by rebases and additional commits, I've had to make a few adjustments after setting this up for real as opposed to just using Kitchen.