Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Puppet 5 Essentials - Third Edition

You're reading from  Puppet 5 Essentials - Third Edition

Product type Book
Published in Sep 2017
Publisher Packt
ISBN-13 9781787284715
Pages 262 pages
Edition 3rd Edition
Languages
Concepts
Author (1):
Felix Frank Felix Frank
Profile icon Felix Frank

Table of Contents (10) Chapters

Preface 1. Writing Your First Manifests 2. Puppet Server and Agents 3. A Peek into the Ruby Part of Puppet - Facts, Types, and Providers 4. Combining Resources in Classes and Defined Types 5. Combining Classes, Configuration Files, and Extensions into Modules 6. The Puppet Beginners Advanced Parts 7. New Features from Puppet 4 and 5 8. Separation of Code and Data with Hiera 9. Puppet Roles and Profiles

Limitations

Sadly, there is a rather substantial issue with both the ordering of containers and the distribution of refresh events: neither will transcend the include statements of further classes. Consider the following example:

class apache {
include apache::service
include apache::package
include apache::config
}
file { '/etc/apache2/conf.d/passwords.conf':
source => '...',
require => Class['apache'],
}

I have often mentioned how the comprehensive apache class models everything about the Apache server subsystem, and in the previous section, I went on to explain that directing a require parameter at such a class will make sure that Puppet only touches the dependent resource if the subsystem has been successfully configured.

This is mostly true, but, due to the limitation concerning class boundaries, it doesn't achieve the desired...

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 $15.99/month. Cancel anytime}