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.
We’re using Berkshelf/knife solo.