githubEdit

Salt Project

Salt Project(saltstack)

Introduction

...

Install

Before Install

# Check your network ports
4505  # Event Publisher/Subscriber port
4506  # Data payloads and minion returns (file services/return data)

# Check system requirements
# already install salt-minion and config

# Check your permissions

Install On Ubuntu

# install repository key and create the apt sources list file
curl -fsSL -o /etc/apt/keyrings/salt-archive-keyring-2023.gpg https://repo.saltproject.io/salt/py3/ubuntu/22.04/amd64/SALT-PROJECT-GPG-PUBKEY-2023.gpg
echo "deb [signed-by=/etc/apt/keyrings/salt-archive-keyring-2023.gpg arch=amd64] https://repo.saltproject.io/salt/py3/ubuntu/22.04/amd64/latest jammy main" | tee /etc/apt/sources.list.d/salt.list

# install
apt update
apt install salt-master salt-minion [salt-api...]

Config and Boot

Config

[[sc-saltstack|Salt Config]]

Boot(systemd)

minion keys

match minion and groups

modules

state structure

grains

pillar

Salt Rosters

salt-ssh

Reference:

Last updated