Book Image

Mastering Puppet

By : Thomas Uphill
Book Image

Mastering Puppet

By: Thomas Uphill

Overview of this book

Table of Contents (17 chapters)

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 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...