Create kickstandproject-dev/grunt

We'll need the ability for developers to quickly create environments,
this is what grunt will be used for.

Change-Id: I54779f6784523bd19c8e85ce865f94475b94c001
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Fix duplicate gerritbot configuration files

Change-Id: Id232fb0796e462320870939762634bd7d25d9f5b
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Import lmadsen public ssh key

Change-Id: I65ab595188193a9778209b7c8e720767ca02bb41
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Add postgres database support

Change-Id: Iab998b5678f6eec1dc68c1c728422fd7742e714d
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Rework postgresql puppet logic

Seem we needed to also add an ALTER sql command.

Change-Id: Ieeede7749057affa2c05ecf169b1a9635a2fc8df
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Create go script

A simple wrapper to launch puppet on a node.

Change-Id: I68a8d6a83368323a74ffd7b790ed1967108d545d
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Create entry point for grunt-precise in Puppet

The grunt-precise prefix in the hostname is our identifier for build slaves.
Currently we just want Puppet to run and bootstrap with some basic
configuration, a future patchset will properly setup Jenkins to be launched
from our Jenkins master.

Change-Id: Ia123e89064e81133b0b62fd3cbb8f0529e27cbee
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Fix hostname for grunt-precise nodepool template

Change-Id: I9cb280b349ee2c34654c3bb590581202e687fbe8
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Create jenkins::slave node

This will be our base node that nodepool will use. Currently we just
giving nodepool sudo permissions so it can do its thing.

Change-Id: I163768e4246db47072e3604c7b55ae0b3e9e3b23
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Install openjdk-6-jre package on jenkins slaves

This is needed by the Jenkins SSH slaves plugin:

  https://wiki.jenkins-ci.org/display/JENKINS/SSH+Slaves+plugin

Change-Id: I945f7d57bae2eff81f423f17a1961eb6d0344b5b
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Replace nodepool with jenkins user

Jenkins ssh-slaves-plugin expects a jenkins user, so we have to create it.

Change-Id: I30c0d16263e1919ebec30fce71b31d0402d7a714
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Run grunt tests on grunt-precise

Now that nodepool has created our grunt-precise nodes, lets try running a test
on them.

Change-Id: If12d54b632f4273b20dabd513b20b8f0298ff2bb
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Create grunt-precise specific node

This is to prepare for our base-precise node that is coming.  We are
also breaking it out now, so when we add other OS support (CentOS) we
don't need to refactor a bunch of stuff.

Change-Id: Ie5f94590cbd41640e78371ee0e85d5ce5e41e5c7
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Create bare-precise node

Initial version of our bare-precise node, we'll use this for the majority of
testing.

Change-Id: I0e16ba542880b7abb0ff0d5ab9c503b25f04cbc3
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Enable puppet tests on bare-precise

Our first task is to get our puppet tests running on bare-precise, then we'll
be able to start merging in all the new code.

Change-Id: I53725ebfeec60809cbd21bebf18b9c24bb76cf2d
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Add jenkins scripts to nodepool templates

We need a new version of gerrit-git-prep also to work with nodepool.

Change-Id: Icc65d60c3c6366de803c4d7a2900dbd57a22b712
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Upgrade Jenkins to use upstream packages

We need to upgrade Jenkins to leverage using nodepool. Now we use upstreams
debian package rather then the one we hacked together on launchpad.

Change-Id: Id139b3c8c591d2160beda9424c3af82542551f2f
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Upgrade zuul to 2.0

This is a requirement to getting nodepool working.

Change-Id: I228888b9601d633bf98ae262eda3ca218cdf448b
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Create gate-grunt job for Jenkins

Now that zuul has been upgraded we can properly commit our gate-grunt logic.

Change-Id: I6237030b5cbad4776b89cb7f3c52f3130db9a6bd
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Exim4 service requires the package

Without this, exim4 won't actually start correctly the first time you
run puppet.

Change-Id: Iffb6fd20b5deaf313ef0daeb0f4053951206cefb
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>