Skip to content

Instantly share code, notes, and snippets.

@russmckendrick
Created November 16, 2013 18:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save russmckendrick/7503446 to your computer and use it in GitHub Desktop.
Save russmckendrick/7503446 to your computer and use it in GitHub Desktop.
# Install EPEL and Update on both the master and minions
yum update -y
yum install http://ftp.linux.ncsu.edu/pub/epel/6/i386/epel-release-6-8.noarch.rpm
# Install the salt-master
yum install salt-master
chkconfig salt-master on
sed -i 's/#interface: 0.0.0.0/interface: 0.0.0.0/g' /etc/salt/master
service salt-master start
# Install the salt-minion
# Replace $salt-master.yourdomain.com with the FQDN of your salt-master
yum install salt-minion
chkconfig salt-minion on
sed -i 's/#master: salt/master: manager.yourdomain.com/g' /etc/salt/minion
service salt-minion start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment