/
Installing Salt on PicOS

Installing Salt on PicOS

You can see an example of Salt module to manipulate PicOS configuration on our Github repository:

https://github.com/pica8/Configuration-Managers

 

 

Step 1 - Use the correct repository for the specific application and CPU on the switch. Pica8 support can help in the choice of repository.

$ sudo more /etc/apt/sources.list | grep -v "#"
deb http://ftp.debian-ports.org/debian/ unstable main

For a typical salt installation, the latest standard debian repo is advised.

 

Step 2 - Update the debian packages on PicOS

admin@XorPlus$sudo apt-get update
Hit http://ftp.tw.debian.org stable Release.gpg
Hit http://ftp.tw.debian.org stable Release
Hit http://ftp.tw.debian.org stable/main powerpc Packages
Hit http://ftp.tw.debian.org stable/main Translation-en
Reading package lists... Done
admin@XorPlus$

 

Step 3 - Install salt-common and salt-minion and configure it

sudo apt-get install salt-common
sudo apt-get install salt-minion

 

Look at the salt documentation to understand how to connect the salt-minion to a salt-master. A simple installation would need at least minor modification on the minion configuration file.

more /etc/salt/minion
# Set the location of the salt master server, if the master server cannot be
# resolved, then the minion will fail to start.
master: salt.example.com

 

 

Copyright © 2025 Pica8 Inc. All Rights Reserved.