Profile for Salt
- Name
- Salt
- Vendor
- VMware
- Source
- https://saltproject.io/
- Description
- Built on Python, Salt is an event-driven automation tool and framework to deploy, configure, and manage complex IT systems. Use Salt to automate common infrastructure administration tasks and ensure that all the components of your infrastructure are operating in a consistent desired state.
- Version active with cprima.net
- 3005.3
-L Also install salt-cloud and required python-libcloud package -M Also install salt-master -A Pass the salt-master DNS name or IP. This will be stored under ${BS_SALT_ETC_DIR}/minion.d/99-master-address.conf -i Pass the salt-minion id. This will be stored under ${BS_SALT_ETC_DIR}/minion_id
master
./bootstrap-salt.sh -M -A brubu -i brubu -L
minion
https://github.com/saltstack/salt-bootstrap
sudo curl -L https://bootstrap.saltproject.io | sudo sh -s – -P -A salt-master stable |
rpi minion
2023-12 Debian 12 bookworm supported
Debain 11
sudo apt-get install -y curl gnupg curl -L https://repo.saltproject.io/py3/debian/11/arm64/latest/SALTSTACK-GPG-KEY.pub | sudo apt-key add - echo “deb http://repo.saltproject.io/py3/debian/11/arm64/latest bullseye main” | sudo tee /etc/apt/sources.list.d/saltstack.list sudo apt-get update sudo apt-get install -y salt-minion sudo vim /etc/salt/minion.d/99-master-address.conf master: salt-master sudo systemctl start salt-minion sudo systemctl enable salt-minion
on master:
sudo salt -G ‘cpuarch:aarch64’ test.ping brubu: True sarmum: True
cat /etc/salt/master.d/nodegroups.conf nodegroups: raspberrypis: ‘G@osarch:arm64 and G@cpuarch:aarch64’
sudo salt -N raspberrypis test.ping
Posts
Salt in the Homelab: Targeting Raspberry Pi
Utilizing SaltStack's advanced functionalities, like custom grains and nodegroups, offers refined targeting abilities for specific devices like the Raspberry Pi. By crafting tailored grains and employing nodegroups, system administrators can seamlessly manage and automate configurations across Raspberry Pi units, ensuring uniformity and efficiency in large-scale deployments.