Skip to content

Instantly share code, notes, and snippets.

@andrewspiers
Created October 16, 2013 15:49
Show Gist options
  • Save andrewspiers/7010051 to your computer and use it in GitHub Desktop.
Save andrewspiers/7010051 to your computer and use it in GitHub Desktop.
speed jenkins with puppet for centos 6
#!/bin/bash
#install puppet
rpm -ivh http://yum.puppetlabs.com/el/6/products/i386/puppetlabs-release-6-7.noarch.rpm
#puppet one liner to install java (works as well as yum -y install)
puppet apply -e 'package {"java-1.7.0-openjdk": ensure => installed, }'
#grab someone else's code to install jenkins:
puppet module install maestrodev/jenkins
#use it
puppet apply -e 'include jenkins'
#that should do it, jenkins is available to the whole wide world on port 8181 by default and requires no authentication to get started!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment