1.

Record Nr.

UNINA9910816910003321

Autore

Uphill Thomas

Titolo

Mastering puppet : pull the strings of puppet to configure enterprise-grade environments for performance optimization / / Thomas Uphill

Pubbl/distr/stampa

Birmingham, [England] : , : Packt Publishing, , 2014

©2014

ISBN

1-78398-219-5

Edizione

[1st edition]

Descrizione fisica

1 online resource (280 p.)

Collana

Community Experience Distilled

Disciplina

745.59224

Soggetti

Puppet making

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Dealing with Load/Scale; Divide and conquer; Puppet with passenger; Splitting up the workload; Certificate signing; Reporting; Storeconfigs; Catalog compilation; Keeping the code consistent; One more split; One last split or maybe a few more; Conquer by dividing; Creating an rpm; Creating the YUM repository; Summary; Chapter 2: Organizing Your Nodes and Data; Getting started; Organizing the nodes with ENC; A simple example; Hostname strategy

Modified ENC using hostname strategyLDAP backend; OpenLDAP configuration; Hiera; Configuring hiera; Using hiera_include; Summary; Chapter 3: Git and Environments; Environments; Environments and hiera; Multiple hierarchies; Single hierarchy for all environments; Dynamic environments; Git; Why Git?; A simple Git workflow; Git Hooks; Using post-receive to set up environments; Puppet-sync; Playing nice with other developers; Not playing nice with others; Git for everyone; Summary; Chapter 4: Public Modules; Getting modules; Using GitHub for public modules; Modules from the Forge; Using librarian

Using r10kUsing modules; concat; inifile; firewall; lvm; stdlib; Summary; Chapter 5: Custom Facts and Modules; Module manifest files; Module files and templates; Naming a module; Creating modules with a Puppet module; Comments in modules; Multiple definitions; Custom facts; Creating custom facts; Creating a custom fact for use in hiera;



Summary; Chapter 6: Custom Types; Parameterized classes; Defined types; Types and providers; Creating a new type; Summary; Chapter 7: Reporting and Orchestration; Turning on reporting; Syslog; Store; IRC; Foreman; Installing Foreman

Attaching Foreman to PuppetUsing Foreman; Puppet Dashboard; Using passenger with Dashboard; Linking Dashboard to Puppet; Processing reports; mcollective; Installing activemq; Configuring nodes to use activemq; Connecting a client to activemq; Using mcollective; Summary; Chapter 8: Exported Resources; Configuring puppetdb - using the forge module; Manually installing puppetdb; Installing Puppet and puppetdb; Installing and configuring PostgreSQL; Configuring puppetdb to use PostgreSQL; Configuring Puppet to use puppetdb; Exported resource concepts; Declaring exported resources

Collecting exported resourcesSimple example: a host entry; Resource tags; Exported SSH keys; sshkey collection for laptops; Putting it all together; Summary; Chapter 9: Roles and Profiles; Design pattern; Creating an example CDN role; Creating a sub-CDN role; Dealing with exceptions; Summary; Chapter 10: Troubleshooting; Connectivity issues; Catalog failures; Full trace of a catalog compile; The classes.txt file; Debugging; Personal and bugfix branches; Echo statements; Scope; Profiling and summarizing; Summary; Index

Sommario/riassunto

Presented in an easy-to-follow, step-by-step tutorial format and packed with examples, this book will lead you through making the best out of Puppet in an enterprise environment. If you are a system administrator or developer who has used Puppet in production and are looking for ways to easily use Puppet in an enterprise environment, this book is for you. This book assumes an intermediate knowledge of Puppet and is intended for those writing modules or deploying Puppet in an enterprise environment.