Skip to content

Instantly share code, notes, and snippets.

@kylog
Last active December 23, 2015 13:29
Show Gist options
  • Save kylog/6642029 to your computer and use it in GitHub Desktop.
Save kylog/6642029 to your computer and use it in GitHub Desktop.
# get dependencies by installing current puppet, but then erase that puppet so it doesn't interfere
rpm -ivh http://yum.puppetlabs.com/el/6/products/i386/puppetlabs-release-6-7.noarch.rpm
yum install -y puppet
yum erase -y puppet
# clone puppet
cd /root && git clone https://github.com/puppetlabs/puppet && cd puppet
# then try out different versions ...
git checkout 3.2.4
RUBYLIB=/root/puppet/lib bin/puppet --version
# do stuff
git checkout 2.6.0
RUBYLIB=/root/puppet/lib bin/puppet --version
# do stuff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment