Skip to content

cake function baseline

The baseline configures a multitude of things on the servers, from a private server-to-server VPN network to access management for SSH. It is the basic configuration for all servers.

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

CAKE master * cake --search baseline
baseline_accept_ssh
baseline_cloud_provider_hetzner
baseline_apt
baseline_locales
[...]

The following chapters describe each individual baseline_ function.

Complete baseline run

To execute all baseline functions in the correct order for the brand new group of servers cus_www_prod:

cake -f baseline -i pub

Arguments:

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