Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »



https://docs.saltstack.com/en/master/topics/tutorials/walkthrough.html
Install

Install python and pip and update

pip install -U pip

pip install -U 


Using the bootstrap

curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
sudo sh bootstrap-salt.sh git master
install package
pip3 install salt


https://github.com/saltstack/salt-bootstrap

alias for pip and python alias on linux

sudo systemctl start salt-master


"/etc/salt/master" file on the Master

sudo vi /etc/salt/master

un "#" those three lines:


master file
labuser@saltsackmaster:~$ more /etc/salt/master | grep "#" -v | grep -v "^[[:space:]]*$"
file_roots:
  base:
    - /srv/salt



"/etc/sal/minion" file on the Minion


minion file
labuser@saltsackmaster:~$ more /etc/salt/minion | grep "#" -v | grep -v "^[[:space:]]*$"
master: 172.30.95.91
id: minion1









  • No labels