-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
SaltStack
Sebastian Schmidt edited this page Nov 6, 2021
·
11 revisions
This package is used to send commands and configurations to the Salt minion that is running on managed systems.
Salt master is running as non-root: https://docs.saltproject.io/en/latest/ref/configuration/nonroot.html
This package runs the Salt minion which receives commands and configuration from a Salt master.
Salt Master: /var/packages/salt-master/etc/salt
Salt Minion: /var/packages/salt-minion/etc/salt
$ sudo su sc-salt-master -s /usr/bin/bash
$ salt -c /var/packages/salt-master/etc/salt '*' cmd.run 'ls -l'
-
Install both salt-minion and salt-master
-
Add salt-minion to salt-master (via ssh):
$ sudo su sc-salt-master -s /usr/bin/bash
$ salt-key -c /var/packages/salt-master/etc/salt --list all
$ salt-key -c /var/packages/salt-master/etc/salt -a dsm6
# Test and run commands:
$ salt -c /var/packages/salt-master/etc/salt '*' test.ping
$ salt -c /var/packages/salt-master/etc/salt '*' cmd.run 'ls -l'
Authentication error occurred.
- Make sure that you are running commands as the salt-master user:
sudo su sc-salt-master -s /usr/bin/bash
- Home
-
Packages
- Adminer
- Aria2
- Beets
- BicBucStriim
- Borgmatic
- cloudflared
- Comskip
- Debian Chroot
- Deluge
- Duplicity
- dnscrypt-proxy
- FFmpeg
- FFsync
- Flexget
- Gstreamer
- Google Authenticator
- Home Assistant Core
- Jellyfin
- Kiwix
- [matrix] Synapse homeserver
- MinIO
- Mono
- Mosh
- Mosquitto
- Node-Exporter
- Radarr/Sonarr/Lidarr/Jackett
- SaltStack
- SickBeard Custom
- SynoCLI-Disk
- SynoCLI-Devel
- SynoCLI-File
- SynoCLI-Kernel
- SynoCLI-Misc.
- SynoCLI-Monitor
- SynoCLI-NET
- Synogear
- Concepts
- Development
- Resources