A simple webserver

Published on: 2025-01-20

This is the first Lesson in Puppet.

Written by Martin Jindra

The full Astro logo.

What you need

It is important that a

  1. Puppet Master
  2. and at least one client server is ready for use.

If not please visit the online Puppet documentation.

The first exercise

For the first exercise we will create a simple webserver. The final product should be a server that serves a simple website. The content of this website is irrelevant. The import things should be

Tips and Tricks.

  1. Before starting with the exercise snapshot your VMs. This can restore if a mishap happens, or you start a new exercise.
  2. Use Modules from the Puppet Forge.
  3. Beware of Selinux. Some files may not be accessible. Simply disable Selinux because this is just an exercise.
  4. Don’t buy an expensive SSL Certificate just use certbot from Lets Encrypt