Created
October 16, 2013 15:49
-
-
Save andrewspiers/7010051 to your computer and use it in GitHub Desktop.
speed jenkins with puppet for centos 6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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