Goals
- Understand the interest of the DevOps movement
- Install Puppet
- Write manifests to deploy an infrastructure with Puppet
- Master good practices and ensure the consistency of the IS with Puppet
Program
The origin of the DevOps movement
The need for industrialization for operations Overview of
tools
Positioning of Puppet in the current landscape
Presentation of git
How the catalog works, overall
architecture The stand-alone
architecture with Puppet apply The agent / master architecture (agent / master)
Security implications
Installation, presentation of the configuration directories
Practical workshop: installation of the Puppet master, creation of a trivial catalog
Resources in Puppet
The resource abstraction layer (RAL): types, attributes, values Idempotence
manifests
, desired states
Resource
scheduling Variables, facts (with Facter) and conditions
Classes and modules
Parameterized classes
Types defined, or « super-classes »
Practical workshop: writing manifestos involving basic resources, creating classes, discovering modules
Organization of the manifesto: feedback on classes and modules
Definition of models (ERB templates) for files
Use of the file server integrated into Puppet
Best practices and patterns for classes and modules
Classification of nodes, use of the node block and includes
Practical workshop: setting up custom modules, configuring the server, configuring complete heterogeneous nodes via Puppet
Reminder of the use of Puppet facts
Creation of facts with simple and complex resolutions
Good practices on the structuring of Puppet facts
Practical workshop: definition of personalized Facts, exploitation in a realistic scenario
Writing reusable code with Puppet
The forge and the puppetlabs modules
A bit of Ruby for templates
Understanding classification and hierarchies
How Hiera works
Using hierarchies, introduction to ENCs
Setting up an ENC
Practical workshop: writing complex manifests, discovering the modules of the Puppet forge, setting up a life-size scenario with Hiera
Details of the configuration in production mode
Managing SSL certificates with Puppet
Optimizing resources with PuppetDB
Using virtual types, creating resources
Collector of exported resources
Practical workshop: apache2 + passenger configuration, certificate management, setting up PuppetDB
Duration
5 days
Price
£ 2599
Audience
System administrators
Prerequisites
Have followed the Linux training: system administration (databases + services), or have equivalent knowledge
Reference
DEV866-F
Sessions
Contact us for more informations about session date