A Git Server

Published on: 2025-01-27

This is the second 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 second exercise

For the second exercise we will do a little bit more than last time. The final product should be a server that can be used as a GitHub alternative. The content of this website is irrelevant. The import things should be

The installation and configuration of this software depends on a bunch of steps like a database etc. Follow the instructions on the homepage of Forgejo. Per default Forgejo uses SQLite3 as a database, but we will use MySQl/MariaDB or Postgres for this exercise.

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.