-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
SaltStack
Michael Reid edited this page May 17, 2025
·
12 revisions
This package is used to send commands and configurations to the Salt minion that is running on managed systems.
To log in to the included GUI, use the credentials of a local Synology user who belongs to the administrators group.
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
- ownCloud
- Radarr/Sonarr/Lidarr/Jackett
- rclone
- SaltStack
- SickBeard Custom
- SynoCLI-Disk
- SynoCLI-Devel
- SynoCLI-File
- SynoCLI-Kernel
- SynoCLI-Misc.
- SynoCLI-Monitor
- SynoCLI-NET
- Synogear
- Concepts
- Development
- Resources