Book Image

Puppet Essentials

By : Felix Frank
Book Image

Puppet Essentials

By: Felix Frank

Overview of this book

<p>With this book, you'll be up and running with using Puppet to manage your IT systems. Dive right in with basic commands so that you can use Puppet right away, and then blitz through a series of illustrative examples to get to grips with all the most important aspects and features of Puppet.</p> <p>Install Puppet, write your first manifests, and then immediately put the Puppet tools to real work. Puppet Essentials reveals the innovative structure and approach of Puppet through step-by-step instructions to follow powerful use cases. Learn common troubleshooting techniques and the master/agent setup as well as the building blocks for advanced functions and topics that push Puppet to the limit, including classes and defined types, modules, resources, and leveraging the flexibility and expressive power implemented by Facter and the Hiera toolchain. Finally, send Puppet to the skies with practical guidance on how to use Puppet to manage a whole application cloud.</p>
Table of Contents (16 chapters)
Puppet Essentials
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Ensuring successful provisioning


Puppet manifests can fail for a variety of reasons. The compiler can fail to produce a catalog if a syntax error appears. It can also fail if the manifest is inconsistent, with duplicate declarations of the same resource somewhere or other errors. Even if the compilation succeeds, the catalog itself might not apply to all systems cleanly. In this case, you often end up with a partial configuration, because one or more resources fail to sync and all their dependencies are skipped as a result.

Note

This problem is relevant to Puppet agents outside of the cloud as well. However, in your data center, it is usually not a problem to intervene manually in the case of problems. In the cloud, this should be strictly avoided.

Writing Puppet manifests is a form of programming, after all. Producing errors is commonplace. Changes need to be tested properly, and issues require debugging. In the cloud, latent manifest issues are especially annoying, because you might frequently...