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 is the foundation applied to every minion in the WikiOasis fleet. It performs three small but critical bootstrap tasks: setting the system timezone, writing a clean sources.list pointing at the configured Debian mirror, and enforcing a minimal apt configuration that suppresses recommended and suggested package installation. Because these settings are prerequisites for all subsequent states, the base state runs first — before any role-specific configuration.
Pillar keys
| Key | Default | Description |
|---|---|---|
timezone | Etc/UTC | Timezone string passed to timezone.system |
apt:mirror | deb.debian.org | Hostname of the Debian apt mirror |
What it configures
Timezone
Sets the OS timezone using Salt’s
timezone.system state, defaulting to Etc/UTC.Apt sources.list
Writes
/etc/apt/sources.list from a Jinja template, enabling main contrib non-free non-free-firmware components across the base, updates, and security suites.Apt config
Writes
/etc/apt/apt.conf to disable installation of recommended and suggested packages system-wide.State file
Rendered sources.list
Theoscodename grain is resolved at apply time from the minion’s OS, so the same state works across all current Debian releases. A typical rendered /etc/apt/sources.list for a Debian 12 (bookworm) host using the default mirror looks like:
Application scope
The base state is assigned to the'*' glob in top.sls, meaning it is applied to every minion on every highstate run. To apply it in isolation:
The
apt_update step uses onchanges, so apt-get update only runs when sources.list actually changes — not on every Salt run.