This guide walks you through getting WikiOasis Salt running on a fresh Salt master. By the end you will have the master configured, all minions reachable, and theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/wikioasis/salt/llms.txt
Use this file to discover all available pages before exploring further.
base state applied across the fleet. The only hard prerequisite is a running Debian system designated as the Salt master — all other tooling is installed along the way.
This repository requires private pillar data (passwords, API keys, SSH keys) that is not committed to git. You must create
pillar/private/init.sls on the master before applying any state that references secrets. See Private Pillar for details.Clone the repository
Clone the repository to the Salt master. The conventional location on Debian is
/srv/salt for states and /srv/pillar for pillar data, but WikiOasis uses a single git checkout and configures Salt to point at the subdirectories within it.Install salt-master
Install the Salt master package from the official SaltProject repository. The minion package (
salt-minion) should already be installed on every managed node.Configure salt-master
Create or edit After editing the configuration, restart the master:
/etc/salt/master to point the master at the repository’s subdirectories. The file_roots key tells Salt where to find state files; pillar_roots tells it where to find pillar data.Create the private pillar
The private pillar holds all secrets and is never committed to git. Copy the provided example to the correct location and fill in real values:At minimum, you must set the
monitoring passwords and the mariadb.backup credentials before applying states that use them. See Private Pillar for the full list of required keys.Accept minion keys
Each minion that connects to the master generates a key pair and sends its public key for acceptance. List pending keys and accept them:
Verify connectivity
Confirm that all accepted minions are responsive before applying any state:A healthy response looks like:
Apply the base state
The
base state configures the timezone, APT sources list, and APT preferences on every minion. It is the safest first state to apply and has no service-level side effects.Next steps
Now that the master is running and minions are converged to the base state, explore the rest of the documentation:Architecture
Understand how minion targeting, server roles, and the internal network fit together.
Pillar Data
Learn how to read and extend the pillar data that drives every state.
Top Files
See exactly which states and pillars are assigned to each minion pattern.
Private Pillar
Reference the full list of secrets that must be populated before going live.