Difference between revisions of "Configuration Management with Puppet: Part 1"

From Gridkaschool
(Agenda)
(Agenda)
Line 22: Line 22:
 
#* What is puppet ... <br />https://docs.google.com/presentation/d/1tvlA9SuzkhNBXtGF4FNVq1rkYmfUW74UORNFwz28lj4/edit?usp=sharing
 
#* What is puppet ... <br />https://docs.google.com/presentation/d/1tvlA9SuzkhNBXtGF4FNVq1rkYmfUW74UORNFwz28lj4/edit?usp=sharing
 
# Hands-On
 
# Hands-On
##login to vm
+
#* login to vm
##write simple manifest and apply
+
#* write simple manifest and apply
 
# Puppet Client/Server
 
# Puppet Client/Server
 
# Hands-On
 
# Hands-On
##login to puppetmaster
+
#* login to puppetmaster
##write node definition
+
#* write node definition
##write simple manifest in user environment
+
#* write simple manifest in user environment
##execute puppet agent call on vm
+
#* execute puppet agent call on vm
 
# GIT basics
 
# GIT basics
 
# Hands-On
 
# Hands-On
## clone repository
+
#* clone repository
## branch
+
#* branch
## change file
+
#* change file
## commit
+
#* commit
## push
+
#* push
 
# Puppet with GIT
 
# Puppet with GIT
 
# Hands-On
 
# Hands-On
## Write an real world example
+
#* Write an real world example
## push with git to pm
+
#* push with git to pm
 
## run puppet agent on vm
 
## run puppet agent on vm
 
# Hiera
 
# Hiera

Revision as of 13:52, 14 August 2014

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