Skip to content

Instantly share code, notes, and snippets.

@jcooklin
Last active August 29, 2015 14:01
Show Gist options
  • Save jcooklin/b8e7ae75a798cfdfa3ca to your computer and use it in GitHub Desktop.
Save jcooklin/b8e7ae75a798cfdfa3ca to your computer and use it in GitHub Desktop.
Installs puppet
#!/bin/bash -x
wget http://apt.puppetlabs.com/puppetlabs-release-precise.deb -O /tmp/puppetlabs-release-precise.deb
dpkg -i /tmp/puppetlabs-release-precise.deb
apt-get update
apt-get -y --force-yes -o Dpkg::Options::="--force-confnew" install puppet
apt-get -y --force-yes install rubygems
apt-get -y --force-yes install git
gem install librarian-puppet -v 1.0.3
@Penguin2600
Copy link

After the recent version update to librarian-puppet we need to change the line to something like:

gem install librarian-puppet -v 1.0.3

or upgrade ruby on the system, cant figure out how to do pull req so I'm just gonna leave this note.

@jcooklin
Copy link
Author

thanks for the root cause... it's updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment