Configuration Management with Puppet: Part 1

From Gridkaschool
Revision as of 13:52, 14 August 2014 by Sternber (talk | contribs) (Agenda)

Abstract

The idea is to give the participants first an idea about the puppet language. Next we show how to use puppet in the client/server setup but without git.

we will create for all participants local environments on the puppetmaster where they can create their manifests.

They also have to create locally the node definitions on the puppetmaster.

Before Step 8 we change the puppetmaster configuration, to a git-o-lite setup.

Before Step 10 we change the puppetmaster configuration, to use a ENC


Agenda

  1. Introduction (Sven)
  2. Hands-On
    • login to vm
    • write simple manifest and apply
  3. Puppet Client/Server
  4. Hands-On
    • login to puppetmaster
    • write node definition
    • write simple manifest in user environment
    • execute puppet agent call on vm
  5. GIT basics
  6. Hands-On
    • clone repository
    • branch
    • change file
    • commit
    • push
  7. Puppet with GIT
  8. Hands-On
    • Write an real world example
    • push with git to pm
    1. run puppet agent on vm
  9. Hiera
  10. Hands-On
    1. Enhance example from 7 with hiera

Step 11: ENC

Step 12: Hands-On - Configure Machine with an ENC