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…")
 
Line 19: Line 19:
== Agenda ==
== Agenda ==


# Introduction (Sven)

Step 1: Introduction (Sven)
What is puppet ...
What is puppet ...
https://docs.google.com/presentation/d/1tvlA9SuzkhNBXtGF4FNVq1rkYmfUW74UORNFwz28lj4/edit?usp=sharing
https://docs.google.com/presentation/d/1tvlA9SuzkhNBXtGF4FNVq1rkYmfUW74UORNFwz28lj4/edit?usp=sharing


Step 2: Hands-On
# Hands-On
- login to vm
- login to vm
- write simple manifest and apply
- write simple manifest and apply


Step 3: Puppet Client/Server
# Puppet Client/Server


Step 4: Hands-On
# Hands-On
- login to puppetmaster
- login to puppetmaster
- write node definition
- write node definition
Line 36: Line 35:
- execute puppet agent call on vm
- execute puppet agent call on vm


Step 5: GIT basics
# GIT basics


Step 6: Hands-On
# Hands-On
- clone repository
- clone repository
- branch
- branch
Line 45: Line 44:
- push
- push


Step 7: Puppet with GIT
# Puppet with GIT


Step 8: 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


Step 9: Hiera
# Hiera


Step 10: Hands-On
# Hands-On
Enhance example from 7 with hiera
Enhance example from 7 with hiera



Revision as of 13:48, 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)

What is puppet ... https://docs.google.com/presentation/d/1tvlA9SuzkhNBXtGF4FNVq1rkYmfUW74UORNFwz28lj4/edit?usp=sharing

  1. Hands-On

- login to vm - write simple manifest and apply

  1. Puppet Client/Server
  1. Hands-On

- login to puppetmaster - write node definition - write simple manifest in user environment - execute puppet agent call on vm

  1. GIT basics
  1. Hands-On

- clone repository - branch - change file - commit - push

  1. Puppet with GIT
  1. Hands-On

- Write an real world example - push with git to pm - run puppet agent on vm

  1. Hiera
  1. Hands-On

Enhance example from 7 with hiera

Step 11: ENC

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