Configuration Management with Puppet: Part 1: Difference between revisions
From Gridkaschool
Jump to navigationJump to search
(Created page with " == 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…") |
(→Agenda) |
||
(48 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) |
|||
⚫ | |||
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 |
|||
⚫ | |||
# Hands-On [[handson1|slides]] |
|||
⚫ | |||
⚫ | |||
# 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]] |
|||
# Hands-On [[handson2|slides]] |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
# GIT best practices [https://drive.google.com/file/d/0B53cw_Gza9T1LW4xQXpqcXFVNHc/edit?usp=sharing slides] |
|||
# 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]] |
|||
#* Hands-On [[handson4|slides]] |
|||
⚫ | |||
End: 18:30 |
|||
⚫ | |||
Step 1: Introduction (Sven) |
|||
[[puppet:workarea]] |
|||
⚫ | |||
Step 2: Hands-On |
|||
⚫ | |||
⚫ | |||
Step 3: Puppet Client/Server |
|||
Step 4: Hands-On |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
Step 5: GIT basics |
|||
Step 6: Hands-On |
|||
- clone repository |
|||
- branch |
|||
- change file |
|||
- commit |
|||
- push |
|||
Step 7: Puppet with GIT |
|||
Step 8: Hands-On |
|||
⚫ | |||
- push with git to pm |
|||
- run puppet agent on vm |
|||
Step 9: Hiera |
|||
Step 10: Hands-On |
|||
Enhance example from 7 with hiera |
|||
Step 11: ENC |
|||
Step 12: Hands-On |
|||
- Configure Machine with an ENC |
Latest revision as of 09:23, 3 September 2014
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)
Agenda
Starting 11:30
- Introduction slidesPDF
- Hands-On slides
- login to vm
- write simple manifest and apply
- Puppet Client/Server slidesPDF
- Hands-On slides
- login to puppetmaster
- write node definition
- write simple manifest in user environment
- execute puppet agent call on vm
- GIT best practices slides
- GIT Hands-On slides
- Puppet with GIT slidesPDF
- Hands-On slides
- Write a real world example slides
End: 18:30