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
Puppet 4 Essentials, Second Edition

You're reading from   Puppet 4 Essentials, Second Edition Acquire skills to manage your IT infrastructure effectively with Puppet

Arrow left icon
Product type Paperback
Published in Dec 2015
Publisher
ISBN-13 9781785881107
Length 246 pages
Edition 2nd Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Felix Frank Felix Frank
Author Profile Icon Felix Frank
Felix Frank
Martin Alfke Martin Alfke
Author Profile Icon Martin Alfke
Martin Alfke
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Writing Your First Manifests FREE CHAPTER 2. The Master and Its Agents 3. A Peek under the Hood – Facts, Types, and Providers 4. Modularizing Manifests with Classes and Defined Types 5. Extending Your Puppet Infrastructure with Modules 6. Leveraging the Full Toolset of the Language 7. New Features from Puppet 4 8. Separating Data from Code Using Hiera Index

Building a specific module


This chapter has discussed many theoretical and operational aspects of modules, but you are yet to gain an insight into the process of writing modules. For this purpose, the rest of this chapter will have you create an example module step by step.

It should be stressed again that for the most part, you will want to find general purpose modules from the Forge. The number of available modules is ever growing, so the odds are good that there is something already there to help you with what you need to do.

Assume that you want to add Cacti to your network, an RRD tool-based trend monitor and graphing server, including a web interface. If you would check the Forge first, you would indeed find some modules. However, let's further assume that none of them speak to you, because either the feature set or the implementation is not to your liking. If even the respective interfaces don't meet your requirements, it doesn't make much sense to base your own module on an existing...

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