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

From Gridkaschool
(Agenda)
(Agenda)
 
(43 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  +
== Requirements ==
 
  +
# Students: Should bring along their own laptop. Linux or Mac preferred, Windows with ssh client OK. (Basically, login via ssh to remote machine is needed)
== 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 ==
 
== Agenda ==
  +
Starting 11:30
 
  +
# Introduction [https://docs.google.com/presentation/d/1tvlA9SuzkhNBXtGF4FNVq1rkYmfUW74UORNFwz28lj4/pub?start=false&loop=false&delayms=3000 slides][[Media:PuppetGridKa_1_Introduction.pdf|PDF]]
# Introduction (Sven)
 
  +
# Hands-On [[handson1|slides]]
#* What is puppet ... <br />https://docs.google.com/presentation/d/1tvlA9SuzkhNBXtGF4FNVq1rkYmfUW74UORNFwz28lj4/edit?usp=sharing
 
# Hands-On
 
 
#* login to vm
 
#* login to vm
 
#* write simple manifest and apply
 
#* write simple manifest and apply
  +
# Puppet Client/Server [https://docs.google.com/presentation/d/1XRbAxqxnYBvSdRbnhgY7NczHJzBbNzSNSkF-8WjOP7I/pub?start=false&loop=false&delayms=3000 slides][[Media:PuppetGridKa_2_ClientServer.pdf|PDF]]
# Puppet Client/Server
 
# Hands-On
+
# Hands-On [[handson2|slides]]
 
#* 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 best practices [https://drive.google.com/file/d/0B53cw_Gza9T1LW4xQXpqcXFVNHc/edit?usp=sharing slides]
# GIT basics
 
# Hands-On
+
# GIT Hands-On [[githandson|slides]]
  +
# Puppet with GIT [https://docs.google.com/presentation/d/1hTsDfBDOePpN1z57nT8MQav-InTCjOIAsk8dkhlPcxI/pub?start=false&loop=false&delayms=3000 slides][[Media:PuppetGridKa_3_GITonPuppet.pdf|PDF]]
#* clone repository
 
  +
#* Hands-On [[handson4|slides]]
#* branch
 
  +
# Write a real world example [[handson3|slides]]
#* change file
 
#* commit
 
#* push
 
# Puppet with GIT
 
# Hands-On
 
#* Write an real world example
 
#* push with git to pm
 
#* run puppet agent on vm
 
# Hiera
 
# Hands-On
 
#* Enhance example from 7 with hiera
 
   
  +
End: 18:30
Step 11: ENC
 
   
  +
== Workarea ==
Step 12: Hands-On
 
  +
[[puppet:workarea]]
- Configure Machine with an ENC
 

Latest revision as of 09:23, 3 September 2014

Requirements

  1. Students: Should bring along their own laptop. Linux or Mac preferred, Windows with ssh client OK. (Basically, login via ssh to remote machine is needed)

Agenda

Starting 11:30

  1. Introduction slidesPDF
  2. Hands-On slides
    • login to vm
    • write simple manifest and apply
  3. Puppet Client/Server slidesPDF
  4. Hands-On slides
    • login to puppetmaster
    • write node definition
    • write simple manifest in user environment
    • execute puppet agent call on vm
  5. GIT best practices slides
  6. GIT Hands-On slides
  7. Puppet with GIT slidesPDF
  8. Write a real world example slides

End: 18:30

Workarea

puppet:workarea