Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Puppet Second Edition

You're reading from   Mastering Puppet Second Edition Master Puppet for configuration management of your systems in an enterprise deployment

Arrow left icon
Product type Paperback
Published in Feb 2016
Publisher
ISBN-13 9781785888106
Length 276 pages
Edition 2nd 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

Modules from the Forge

Modules on Puppet Forge can be installed using Puppet's built-in module command. The modules on the Forge have files named Modulefile, which define their dependencies; so, if you download modules from the Forge using puppet module install, then their dependencies will be resolved in a way similar to how yum resolves dependencies for rpm packages.

To install the puppetlabs-puppetdb module, we will simply issue a puppet module install command in the appropriate directory. We'll create a new directory in tmp; for our example, this will be /tmp/public_modules, as shown here:

[git@stand ~]$ cd /tmp
[git@stand tmp]$ mkdir public_modules
[git@stand tmp]$ cd public_modules/
[git@stand public_modules]$ 

Then, we'll inform Puppet that our modulepath is /tmp/public_modules and install the puppetdb module using the following command:

[git@stand public_modules]$ puppet module install --modulepath=/tmp/public_modules puppetlabs-puppetdb
Notice: Preparing to install...
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 $19.99/month. Cancel anytime
Banner background image