This project is a container for a set of puppet scripts that can be used to install and start a jenkins instance with relative plugins. It's a set of puppet configurations plus a cloudinit configuration file that can be used to prepare a machine in the cloud with the minimum configuration needed to start puppet.
The jenkins puppet module and relative dependecies are included as submodules of the current project.
Assuming you have set up the ec2-tools-api:
-
Clone the project or download the cloud-config-puppet-master.txt file:
git clone git://github.com/hibernate/ci.hibernate.org.git
-
Launch a machine using EC2 and passing the cloud-config-puppet-master.txt file as parameter:
ec2-run-instances ami-7539b41c -t c1.medium -k [security-key-name] -f cloud-config-puppet-master.txt
Assuming puppet is already installed:
-
Clone the project
git clone git://github.com/hibernate/ci.hibernate.org.git
-
Update the submodules
cd ci.hibernate.org git submodule update --init
-
Copy the content of the folder in /etc/puppet
rsync -rvz --exclude=.git . /etc/puppet
-
Restart the puppet master and the puppet agent
puppet master start puppet --onetime --waitforcert 5 --no-daemonize --verbose