Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Puppet

You're reading from   Mastering Puppet Mastering Puppet for network programming enables developers to pull the strings of Puppet and configure enterprise-level environments for optimum performance

Arrow left icon
Product type Paperback
Published in Jul 2014
Publisher
ISBN-13 9781783982189
Length 280 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Thomas Uphill Thomas Uphill
Author Profile Icon Thomas Uphill
Thomas Uphill
Arrow right icon
View More author details
Toc

Using librarian


Librarian is a bundler for Ruby. It handles dependency checking for you. The project to use librarian with Puppet is called librarian-puppet and is available at http://rubygems.org/gems/librarian-puppet. To install librarian-puppet, we'll use RubyGems since no rpm packages exist in public repositories at this time. To avoid user-installed gems from polluting our Ruby structure, we'll install librarian-puppet into the Git user's .gem directory, and copy the modules into a directory the Puppet master can use, using the following commands:

git@worker1$ gem install --user-install librarian-puppet
WARNING:  You don't have /var/lib/git/.gem/ruby/1.8/bin in your PATH,
    gem executables will not run.
Successfully installed thor-0.18.1
Successfully installed librarian-puppet-0.9.10
2 gems installed
Installing ri documentation for thor-0.18.1...
Installing ri documentation for librarian-puppet-0.9.10...
Installing RDoc documentation for thor-0.18.1...
Installing RDoc documentation...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at R$50/month. Cancel anytime