Skip to content

cake function util

This cake function will setup and manage all components related to the utility services: backup, monitoring, central logfiles, employee VPN, Server-to-Server mesh VPN, Gitlab and more.

Purpose Tool
Employee VPN wireguard
Backups borgbackup
Git SCM Gitlab
Monitoring Prometheus
Central logfiles systemd-journal-remote

For this the cake function util is used. The util function simply includes many other functions named util_something, which can be viewed by executing:

CAKE master * cake --search util

The following chapters describe each individual util_ function.

Complete util run

To execute all util functions in the correct order for a newly created group of utility servers:

cake -f util -i pub


  • -i pub: use the public IPs defined in nic_pub_ip to connect ot the servers