Yet another web developer blog

SaltStack

Quick way to install SaltStack minion on Debian / Ubuntu Linux

Here is bash commands to quickly install salt-minion to Ubuntu / Debian systems:

MASTER=salt.SERVER.COM
BRAND=PROJECTNAME
HOSTNAME=hostname.SERVER.COM

hostnamectl set-hostname $HOSTNAME

cd /tmp && wget -O - https://bootstrap.saltproject.io | bash && rm ./bootstrap-salt.log

echo "master: $MASTER
" > /etc/salt/minion.d/$BRAND.conf

echo "$HOSTNAME" > /etc/salt/minion_id

service salt-minion restart