Jenkins node setup cookbook


#1

I have a cookbook for setting up a node for Jenkins to build rails projects. My problem is that it needs to run 7 - 8 times in order to install everything and I also have to call apt-get -y install build-essential in my default recipe, otherwise postgres will fail (Using the build essential recipe hasn’t worked for me).

Jenkins plugin installs fail but then succeed when run again.

I know it’s a big question, but if someone in the know could check out my run list and cookbook and tell me what I did wrong, it would greatly appreciated.

Run-list:

Cookbook:

We’re using Berkshelf/knife solo.


#2

Basically I’m only having problems with Jenkins and with Build-Essential (and Postgres). Minus those recipes, everything builds without a hitch.

On Oct 4, 2013, at 2:40 PM, Michael Hayes hayesmp@thefrontside.net wrote:

I have a cookbook for setting up a node for Jenkins to build rails projects. My problem is that it needs to run 7 - 8 times in order to install everything and I also have to call apt-get -y install build-essential in my default recipe, otherwise postgres will fail (Using the build essential recipe hasn’t worked for me).

Jenkins plugin installs fail but then succeed when run again.

I know it’s a big question, but if someone in the know could check out my run list and cookbook and tell me what I did wrong, it would greatly appreciated.

Run-list:
https://gist.github.com/hayesmp/6831419

Cookbook:
https://github.com/hayesmp/jenkins-rackbox-cookbook

We’re using Berkshelf/knife solo.