SaltStack Package Repo

Download and install the latest release of SaltStack.


This page contains instructions to download and install the latest release of SaltStack.

Bootstrap works across many platforms and is the easiest way to get started. If you cannot use Bootstrap or if you prefer packages, click the tab for your platform.

Latest release: 2018.3.0 (April 2, 2018)




Bootstrap - Multi-Platform

Salt Bootstrap is a shell script that detects the target platform and selects the best installation method. (514-376-2299)

On the Salt master

Run these commands on the system that you want to use as the central management point.

curl -L /bootstrap.saltstack.com -o install_salt.sh
sudo sh install_salt.sh -P -M

Your Salt master can manage itself, so a Salt minion is installed along with the Salt master. If you do not want to install the minion, also pass the -N option.

On each Salt minion

Run these commands on each system that you want to manage using Salt.

curl -L /bootstrap.saltstack.com -o install_salt.sh
sudo sh install_salt.sh -P

Post-installation configuration


Debian 9 (stretch) PY2

Debian 9 (stretch) PY3

Debian 8 (jessie)

Installs the latest release. Updating installs the latest release even if it is a new major version.

Read Before Upgrading Debian 8 (Jessie) from Salt Versions Earlier than 2015.8.4

Salt systemd service files are missing the following statement in these versions:

[Service]
KillMode=process

This statement must be added to successfully upgrade on these earlier versions of Salt.

  1. Run the following command to import the SaltStack repository key:
    wget -O - /repo.saltstack.com/apt/debian/9/amd64/latest/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
    wget -O - /repo.saltstack.com/py3/debian/9/amd64/latest/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
    wget -O - /repo.saltstack.com/apt/debian/8/amd64/latest/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
  2. Save the following file to /etc/apt/sources.list.d/saltstack.list:
    deb /repo.saltstack.com/apt/debian/9/amd64/latest stretch main
    deb /repo.saltstack.com/py3/debian/9/amd64/latest stretch main
    deb /repo.saltstack.com/apt/debian/8/amd64/latest jessie main
  3. Run sudo apt-get update

  4. Install the salt-minion, salt-master, or other Salt components:
    • sudo apt-get install salt-master
    • sudo apt-get install salt-minion
    • sudo apt-get install salt-ssh
    • sudo apt-get install salt-syndic
    • sudo apt-get install salt-cloud
    • sudo apt-get install salt-api
  5. (Upgrade only) Restart all upgraded services, for example:
    sudo systemctl restart salt-minion
    sudo systemctl restart salt-minion
    sudo systemctl restart salt-minion

Post-installation configuration


Installs the latest release. Updating installs the latest minor release but not a new major version.

Read Before Upgrading Debian 8 (Jessie) from Salt Versions Earlier than 2015.8.4

Salt systemd service files are missing the following statement in these versions:

[Service]
KillMode=process

This statement must be added to successfully upgrade on these earlier versions of Salt.

  1. Run the following command to import the SaltStack repository key:
    wget -O - /repo.saltstack.com/apt/debian/9/amd64/2018.3/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
    wget -O - /repo.saltstack.com/py3/debian/9/amd64/2018.3/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
    wget -O - /repo.saltstack.com/apt/debian/8/amd64/2018.3/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
  2. Save the following file to /etc/apt/sources.list.d/saltstack.list:
    deb /repo.saltstack.com/apt/debian/9/amd64/2018.3 stretch main
    deb /repo.saltstack.com/py3/debian/9/amd64/2018.3 stretch main
    deb /repo.saltstack.com/apt/debian/8/amd64/2018.3 jessie main
  3. Run sudo apt-get update

  4. Install the salt-minion, salt-master, or other Salt components:
    • sudo apt-get install salt-master
    • sudo apt-get install salt-minion
    • sudo apt-get install salt-ssh
    • sudo apt-get install salt-syndic
    • sudo apt-get install salt-cloud
    • sudo apt-get install salt-api
  5. (Upgrade only) Restart all upgraded services, for example:
    sudo systemctl restart salt-minion
    sudo systemctl restart salt-minion
    sudo systemctl restart salt-minion

Post-installation configuration


Installs a specific release. Updating doesn’t change the release that is installed.

Read Before Upgrading Debian 8 (Jessie) from Salt Versions Earlier than 2015.8.4

Salt systemd service files are missing the following statement in these versions:

[Service]
KillMode=process

This statement must be added to successfully upgrade on these earlier versions of Salt.

  1. Run the following command to import the SaltStack repository key:
    wget -O - /repo.saltstack.com/apt/debian/9/amd64/archive/2018.3.0/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
    wget -O - /repo.saltstack.com/py3/debian/9/amd64/archive/2018.3.0/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
    wget -O - /repo.saltstack.com/apt/debian/8/amd64/archive/2018.3.0/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
  2. Save the following file to /etc/apt/sources.list.d/saltstack.list:
    deb /repo.saltstack.com/apt/debian/9/amd64/archive/2018.3.0 stretch main
    deb /repo.saltstack.com/py3/debian/9/amd64/archive/2018.3.0 stretch main
    deb /repo.saltstack.com/apt/debian/8/amd64/archive/2018.3.0 jessie main
  3. Run sudo apt-get update

  4. Install the salt-minion, salt-master, or other Salt components:
    • sudo apt-get install salt-master
    • sudo apt-get install salt-minion
    • sudo apt-get install salt-ssh
    • sudo apt-get install salt-syndic
    • sudo apt-get install salt-cloud
    • sudo apt-get install salt-api
  5. (Upgrade only) Restart all upgraded services, for example:
    sudo systemctl restart salt-minion
    sudo systemctl restart salt-minion
    sudo systemctl restart salt-minion

Post-installation configuration


Redhat / CentOS 7 PY2

Redhat / CentOS 7 PY3

Redhat / CentOS 6 PY2

WARNING: Redhat Python 3 support requires that EPEL be previously installed

Installs the latest release. Updating installs the latest release even if it is a new major version.

  1. Run the following commands to install the SaltStack repository and key:
    sudo yum install /repo.saltstack.com/yum/redhat/salt-repo-latest-2.el7.noarch.rpm 
    sudo yum install /repo.saltstack.com/py3/redhat/salt-py3-repo-latest-2.el7.noarch.rpm 
    sudo yum install /repo.saltstack.com/yum/redhat/salt-repo-latest-2.el6.noarch.rpm
  2. Run sudo yum clean expire-cache

  3. Install the salt-minion, salt-master, or other Salt components:
    • sudo yum install salt-master
    • sudo yum install salt-minion
    • sudo yum install salt-ssh
    • sudo yum install salt-syndic
    • sudo yum install salt-cloud
    • sudo yum install salt-api
  4. (Upgrade only) Restart all upgraded services, for example:
    sudo systemctl restart salt-minion
    sudo systemctl restart salt-minion
    sudo service salt-minion restart

(888) 584-9828


Installs the latest release. Updating installs the latest minor release but not a new major version.

  1. Run the following commands to install the SaltStack repository and key:
    sudo yum install /repo.saltstack.com/yum/redhat/salt-repo-2018.3-1.el7.noarch.rpm 
    sudo yum install /repo.saltstack.com/py3/redhat/salt-py3-repo-2018.3-1.el7.noarch.rpm 
    sudo yum install /repo.saltstack.com/yum/redhat/salt-repo-2018.3-1.el6.noarch.rpm
  2. Run sudo yum clean expire-cache

  3. Install the salt-minion, salt-master, or other Salt components:
    • sudo yum install salt-master
    • sudo yum install salt-minion
    • sudo yum install salt-ssh
    • sudo yum install salt-syndic
    • sudo yum install salt-cloud
    • sudo yum install salt-api
  4. (Upgrade only) Restart all upgraded services, for example:
    sudo systemctl restart salt-minion
    sudo systemctl restart salt-minion
    sudo service salt-minion restart

Post-installation configuration


Installs a specific release. Updating doesn’t change the release that is installed.

  1. Run the following commands to install the SaltStack repository and key:

    sudo rpm --import /repo.saltstack.com/yum/redhat/7/x86_64/archive/2018.3.0/SALTSTACK-GPG-KEY.pub
    sudo rpm --import /repo.saltstack.com/py3/redhat/7/x86_64/archive/2018.3.0/SALTSTACK-GPG-KEY.pub
    sudo rpm --import /repo.saltstack.com/yum/redhat/6/x86_64/archive/2018.3.0/SALTSTACK-GPG-KEY.pub
  2. Save the following file to /etc/yum.repos.d/saltstack.repo:

    [saltstack-repo]
    name=SaltStack repo for RHEL/CentOS $releasever
    baseurl=/repo.saltstack.com/yum/redhat/$releasever/$basearch/archive/2018.3.0
    enabled=1
    gpgcheck=1
    gpgkey=/repo.saltstack.com/yum/redhat/$releasever/$basearch/archive/2018.3.0/SALTSTACK-GPG-KEY.pub
    [saltstack-repo]
    name=SaltStack repo for RHEL/CentOS $releasever PY3
    baseurl=/repo.saltstack.com/py3/redhat/$releasever/$basearch/archive/2018.3.0
    enabled=1
    gpgcheck=1
    gpgkey=/repo.saltstack.com/py3/redhat/$releasever/$basearch/archive/2018.3.0/SALTSTACK-GPG-KEY.pub
    [saltstack-repo]
    name=SaltStack repo for RHEL/CentOS $releasever
    baseurl=/repo.saltstack.com/yum/redhat/$releasever/$basearch/archive/2018.3.0
    enabled=1
    gpgcheck=1
    gpgkey=/repo.saltstack.com/yum/redhat/$releasever/$basearch/archive/2018.3.0/SALTSTACK-GPG-KEY.pub
  3. Run sudo yum clean expire-cache

  4. Install the salt-minion, salt-master, or other Salt components:
    • sudo yum install salt-master
    • sudo yum install salt-minion
    • sudo yum install salt-ssh
    • sudo yum install salt-syndic
    • sudo yum install salt-cloud
    • sudo yum install salt-api
  5. (Upgrade only) Restart all upgraded services, for example:
    sudo systemctl restart salt-minion
    sudo systemctl restart salt-minion
    sudo service salt-minion restart

Post-installation configuration


Ubuntu 16 (xenial) PY2

Ubuntu 16 (xenial) PY3

Ubuntu 14 (trusty) PY2

Installs the latest release. Updating installs the latest release even if it is a new major version.

  1. Run the following command to import the SaltStack repository key:
    wget -O - /repo.saltstack.com/apt/ubuntu/16.04/amd64/latest/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
    wget -O - /repo.saltstack.com/py3/ubuntu/16.04/amd64/latest/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
    wget -O - /repo.saltstack.com/apt/ubuntu/14.04/amd64/latest/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
  2. Save the following file to /etc/apt/sources.list.d/saltstack.list:
    deb /repo.saltstack.com/apt/ubuntu/16.04/amd64/latest xenial main
    deb /repo.saltstack.com/py3/ubuntu/16.04/amd64/latest xenial main
    deb /repo.saltstack.com/apt/ubuntu/14.04/amd64/latest trusty main
  3. Run sudo apt-get update

  4. Install the salt-minion, salt-master, or other Salt components:
    • sudo apt-get install salt-master
    • sudo apt-get install salt-minion
    • sudo apt-get install salt-ssh
    • sudo apt-get install salt-syndic
    • sudo apt-get install salt-cloud
    • sudo apt-get install salt-api
  5. (Upgrade only) Restart all upgraded services, for example:
    sudo systemctl restart salt-minion
    sudo systemctl restart salt-minion
    sudo service salt-minion restart

289-669-2078


Installs the latest release. Updating installs the latest minor release but not a new major version.

  1. Run the following command to import the SaltStack repository key:
    wget -O - /repo.saltstack.com/apt/ubuntu/16.04/amd64/2018.3/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
    wget -O - /repo.saltstack.com/py3/ubuntu/16.04/amd64/2018.3/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
    wget -O - /repo.saltstack.com/apt/ubuntu/14.04/amd64/2018.3/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
  2. Save the following file to /etc/apt/sources.list.d/saltstack.list:
    deb /repo.saltstack.com/apt/ubuntu/16.04/amd64/2018.3 xenial main
    deb /repo.saltstack.com/py3/ubuntu/16.04/amd64/2018.3 xenial main
    deb /repo.saltstack.com/apt/ubuntu/14.04/amd64/2018.3 trusty main
  3. Run sudo apt-get update

  4. Install the salt-minion, salt-master, or other Salt components:
    • sudo apt-get install salt-master
    • sudo apt-get install salt-minion
    • sudo apt-get install salt-ssh
    • sudo apt-get install salt-syndic
    • sudo apt-get install salt-cloud
    • sudo apt-get install salt-api
  5. (Upgrade only) Restart all upgraded services, for example:
    sudo systemctl restart salt-minion
    sudo systemctl restart salt-minion
    sudo service salt-minion restart

Post-installation configuration


Installs a specific release. Updating doesn’t change the release that is installed.

  1. Run the following command to import the SaltStack repository key:
    wget -O - /repo.saltstack.com/apt/ubuntu/16.04/amd64/archive/2018.3.0/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
    wget -O - /repo.saltstack.com/py3/ubuntu/16.04/amd64/archive/2018.3.0/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
    wget -O - /repo.saltstack.com/apt/ubuntu/14.04/amd64/archive/2018.3.0/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
  2. Save the following file to /etc/apt/sources.list.d/saltstack.list:
    deb /repo.saltstack.com/apt/ubuntu/16.04/amd64/archive/2018.3.0 xenial main
    deb /repo.saltstack.com/py3/ubuntu/16.04/amd64/archive/2018.3.0 xenial main
    deb /repo.saltstack.com/apt/ubuntu/14.04/amd64/archive/2018.3.0 trusty main
  3. Run sudo apt-get update

  4. Install the salt-minion, salt-master, or other Salt components:
    • sudo apt-get install salt-master
    • sudo apt-get install salt-minion
    • sudo apt-get install salt-ssh
    • sudo apt-get install salt-syndic
    • sudo apt-get install salt-cloud
    • sudo apt-get install salt-api
  5. (Upgrade only) Restart all upgraded services, for example:
    sudo systemctl restart salt-minion
    sudo systemctl restart salt-minion
    sudo service salt-minion restart

Post-installation configuration


SLES 12 SP2

SLES 11 SP4

openSUSE Leap 42.2

openSUSE Leap 42.3

openSUSE Tumbleweed

Installs the latest release. Updating installs the latest release even if it is a new major version.

  1. Run the following command to add the SaltStack repository:
    sudo zypper addrepo /repo.saltstack.com/opensuse/SLE_12_SP2/systemsmanagement:saltstack:products.repo
    sudo zypper addrepo /repo.saltstack.com/opensuse/SLE_11_SP4/systemsmanagement:saltstack:products.repo
    sudo zypper addrepo /repo.saltstack.com/opensuse/openSUSE_Leap_42.2/systemsmanagement:saltstack:products.repo
    sudo zypper addrepo /repo.saltstack.com/opensuse/openSUSE_Leap_42.3/systemsmanagement:saltstack:products.repo
    sudo zypper addrepo /repo.saltstack.com/opensuse/openSUSE_Tumbleweed/systemsmanagement:saltstack:products.repo
  2. Refresh the package list:

    sudo zypper refresh
  3. Install the salt-minion, salt-master, or other Salt components:
    • sudo zypper install salt-master
    • sudo zypper install salt-minion
    • sudo zypper install salt-ssh
    • sudo zypper install salt-syndic
    • sudo zypper install salt-cloud
    • sudo zypper install salt-api
    • sudo zypper install salt-proxy
  4. (Upgrade only) Restart all upgraded services, for example:
    sudo systemctl restart salt-minion

    or

    sudo service salt-minion restart

Post-installation configuration


Installs the latest release. Updating installs the latest minor release but not a new major version.

  1. Run the following command to import the SaltStack repository key:
    wget -O - /repo.saltstack.com/apt/suse/14.04/amd64/2018.3/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
    wget -O - /repo.saltstack.com/apt/suse/12.04/amd64/2018.3/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
  2. Save the following file to /etc/apt/sources.list.d/saltstack.list:
    deb /repo.saltstack.com/apt/suse/14.04/amd64/2018.3 trusty main
    deb /repo.saltstack.com/apt/suse/12.04/amd64/2018.3 precise main
  3. Run sudo apt-get update

  4. Install the salt-minion, salt-master, or other Salt components:
    • sudo apt-get install salt-master
    • sudo apt-get install salt-minion
    • sudo apt-get install salt-ssh
    • sudo apt-get install salt-syndic
    • sudo apt-get install salt-cloud
    • sudo apt-get install salt-api
    • sudo apt-get install salt-api
  5. (Upgrade only) Restart all upgraded services, for example:
    sudo systemctl restart salt-minion

    or

    sudo service salt-minion restart

Post-installation configuration


Installs a specific release. Updating doesn’t change the release that is installed.

  1. Run the following command to import the SaltStack repository key:
    wget -O - /repo.saltstack.com/apt/suse/14.04/amd64/archive/2018.3.0/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
    wget -O - /repo.saltstack.com/apt/suse/12.04/amd64/archive/2018.3.0/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
  2. Save the following file to /etc/apt/sources.list.d/saltstack.list:
    deb /repo.saltstack.com/apt/suse/14.04/amd64/archive/2018.3.0 trusty main
    deb /repo.saltstack.com/apt/suse/12.04/amd64/archive/2018.3.0 precise main
  3. Run sudo apt-get update

  4. Install the salt-minion, salt-master, or other Salt components:
    • sudo apt-get install salt-master
    • sudo apt-get install salt-minion
    • sudo apt-get install salt-ssh
    • sudo apt-get install salt-syndic
    • sudo apt-get install salt-cloud
    • sudo apt-get install salt-api
  5. (Upgrade only) Restart all upgraded services, for example:
    sudo systemctl restart salt-minion

    or

    sudo service salt-minion restart

(813) 868-3280


Fedora 28

Fedora 27

Fedora 26

Installs the latest release. Updating installs the latest release even if it is a new major version.

Currently Salt 2017.7.4 is available for Fedora stable, however Salt 2017.7.5 is available from the testing repo and is expected to migrate to stable soon.

  1. Packages are available in the standard Fedora repositories. Install the salt-minion, salt-master, or other Salt components:
    • sudo dnf install salt-master
    • sudo dnf install salt-minion
    • sudo dnf install salt-ssh
    • sudo dnf install salt-syndic
    • sudo dnf install salt-cloud
    • sudo dnf install salt-api

Post-installation configuration


Installs the latest release. Updating installs the latest minor release but not a new major version.

Currently Salt 2017.7.4 is available for Fedora stable, however Salt 2017.7.5 is available from the testing repo and is expected to migrate to stable soon.

  1. Packages are available in the standard Fedora repositories. Install the salt-minion, salt-master, or other Salt components:
    • sudo dnf install salt-master
    • sudo dnf install salt-minion
    • sudo dnf install salt-ssh
    • sudo dnf install salt-syndic
    • sudo dnf install salt-cloud
    • sudo dnf install salt-api

7575072978


Installs a specific release.

  1. Packages are available in the standard Fedora repositories. Install the salt-minion, salt-master, or other Salt components:
    • sudo dnf install salt-master-2017.7.4
    • sudo dnf install salt-minion-2017.7.4
    • sudo dnf install salt-ssh-2017.7.4
    • sudo dnf install salt-syndic-2017.7.4
    • sudo dnf install salt-cloud-2017.7.4
    • sudo dnf install salt-api-2017.7.4

Post-installation configuration


Windows PY2

Windows PY3

Installation executables:

Silent Installation Options

The installer can be run silently by providing the /S option at the command line. The options /master and /minion-name allow for configuring the master hostname and minion name, respectively. Here’s an example of running a silent installation from the command line:

Salt-Minion-2018.3.0-Py2-AMD64-Setup.exe /S /master=yoursaltmaster /minion-name=yourminionname
Salt-Minion-2018.3.0-Py3-AMD64-Setup.exe /S /master=yoursaltmaster /minion-name=yourminionname

Post-installation configuration


macOS PY2

macOS PY3

Installation executables:

jaspachate settings might prevent installation of the Salt package. If a warning appears during installation, open System Preferences > Security & Privacy > click Open Anyway

Initial Configuration

After the installation completes, run the following to configure the Salt minion ID, the Salt master location, and to start the required services.

sudo salt-config -i yourminionname -m yoursaltmaster

Start and Stop the Minion Service

On OS X, the Salt minion configuration file is in the standard /etc/salt/minion location. To stop the Salt minion, run the following:

sudo launchctl stop com.saltstack.salt.minion

To start the Salt minion, run the following:

sudo launchctl start com.saltstack.salt.minion

3207602426


Amazon Linux

WARNING: If using an Amazon Linux version previous to 2015.03 or a Salt version previous to 2016.11.0 you will need to use the RedHat 6 packages documented on this (304) 824-9029. For Salt 2016.11 and above please use the instructions below which provide Amazon Linux native rpms.

If upgrading from the RedHat 6 packages you need to remove all previous packages due to some package conflicts. To remove the packages and dependencies run the following command:

sudo yum autoremove <packagename>

Replacing packagename with the name of the Salt packages you intend to upgrade. To uninstall all Salt packages you can run the following command:

sudo yum autoremove salt salt-master salt-cloud salt-ssh salt-syndic salt-api salt-minion

After uninstalling previous RedHat 6 packages you can continue with the instructions below to upgrade to the latest amazon native rpm packages.

Installs the latest release. Updating installs the latest release even if it is a new major version.

  1. Run the following commands to install the SaltStack repository and key:
    sudo yum install /repo.saltstack.com/yum/amazon/salt-amzn-repo-latest-2.amzn1.noarch.rpm
  2. Run sudo yum clean expire-cache

  3. Install the salt-minion, salt-master, or other Salt components:
    • sudo yum install salt-master
    • sudo yum install salt-minion
    • sudo yum install salt-ssh
    • sudo yum install salt-syndic
    • sudo yum install salt-cloud
    • sudo yum install salt-api
  4. (Upgrade only) Restart all upgraded services, for example:
    sudo service salt-minion restart 

Post-installation configuration


WARNING: If using an Amazon Linux version previous to 2015.03 or a Salt version previous to 2016.11.0 you will need to use the RedHat 6 packages documented on this 7179776712. For Salt 2016.11 and above please use the instructions below which provide Amazon Linux native rpms.

If upgrading from the RedHat 6 packages you need to remove all previous packages due to some package conflicts. To remove the packages and dependencies run the following command:

sudo yum autoremove <packagename>

Replacing packagename with the name of the Salt packages you intend to upgrade. To uninstall all Salt packages you can run the following command:

sudo yum autoremove salt salt-master salt-cloud salt-ssh salt-syndic salt-api salt-minion

After uninstalling previous RedHat 6 packages you can continue with the instructions below to upgrade to the latest amazon native rpm packages.

Installs the latest release. Updating installs the latest minor release but not a new major version.

  1. Run the following commands to install the SaltStack repository and key:
    sudo yum install /repo.saltstack.com/yum/amazon/salt-amzn-repo-2018.3-1.amzn1.noarch.rpm
  2. Run sudo yum clean expire-cache

  3. Install the salt-minion, salt-master, or other Salt components:
    • sudo yum install salt-master
    • sudo yum install salt-minion
    • sudo yum install salt-ssh
    • sudo yum install salt-syndic
    • sudo yum install salt-cloud
    • sudo yum install salt-api
  4. (Upgrade only) Restart all upgraded services, for example:
    sudo service salt-minion restart 

Post-installation configuration


WARNING: If using an Amazon Linux version previous to 2015.03 or a Salt version previous to 2016.11.0 you will need to use the RedHat 6 packages documented on this page. For Salt 2016.11 and above please use the instructions below which provide Amazon Linux native rpms.

If upgrading from the RedHat 6 packages you need to remove all previous packages due to some package conflicts. To remove the packages and dependencies run the following command:

sudo yum autoremove <packagename>

Replacing packagename with the name of the Salt packages you intend to upgrade. To uninstall all Salt packages you can run the following command:

sudo yum autoremove salt salt-master salt-cloud salt-ssh salt-syndic salt-api salt-minion

After uninstalling previous RedHat 6 packages you can continue with the instructions below to upgrade to the latest amazon native rpm packages.

Installs a specific release. Updating doesn’t change the release that is installed.

  1. Run the following commands to install the SaltStack repository and key:

    sudo rpm --import /repo.saltstack.com/yum/amazon/latest/x86_64/archive/2018.3.0/SALTSTACK-GPG-KEY.pub
  2. Save the following file to /etc/yum.repos.d/saltstack-amzn.repo:

    [saltstack-amzn-repo]
    name=SaltStack repo for Amazon Linux
    baseurl=/repo.saltstack.com/yum/amazon/latest/$basearch/archive/2018.3.0
    failovermethod=priority
    priority=10
    enabled=1
    gpgcheck=1
    gpgkey=/repo.saltstack.com/yum/amazon/latest/$basearch/archive/2018.3.0/SALTSTACK-GPG-KEY.pub
  3. Run sudo yum clean expire-cache

  4. Install the salt-minion, salt-master, or other Salt components:
    • sudo yum install salt-master
    • sudo yum install salt-minion
    • sudo yum install salt-ssh
    • sudo yum install salt-syndic
    • sudo yum install salt-cloud
    • sudo yum install salt-api
  5. (Upgrade only) Restart all upgraded services, for example:
    sudo service salt-minion restart 

Post-installation configuration


Raspbian 9 (stretch) PY2

Raspbian 9 (stretch) PY3

Raspbian 8 (jessie) PY2

Installs the latest release. Updating installs the latest release even if it is a new major version.

  1. Run the following command to import the SaltStack repository key:
    wget -O - /repo.saltstack.com/apt/debian/9/armhf/latest/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
    wget -O - /repo.saltstack.com/py3/debian/9/armhf/latest/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
    wget -O - /repo.saltstack.com/apt/debian/8/armhf/latest/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
  2. Save the following file to /etc/apt/sources.list.d/saltstack.list:
    deb /repo.saltstack.com/apt/debian/9/armhf/latest stretch main
    deb /repo.saltstack.com/py3/debian/9/armhf/latest stretch main
    deb /repo.saltstack.com/apt/debian/8/armhf/latest jessie main
  3. Run sudo apt-get update

  4. Install the salt-minion, salt-master, or other Salt components:
    • sudo apt-get install salt-master
    • sudo apt-get install salt-minion
    • sudo apt-get install salt-ssh
    • sudo apt-get install salt-syndic
    • sudo apt-get install salt-cloud
    • sudo apt-get install salt-api
  5. (Upgrade only) Restart all upgraded services, for example:

    sudo systemctl restart salt-minion

Post-installation configuration


Installs the latest release. Updating installs the latest minor release but not a new major version.

  1. Run the following command to import the SaltStack repository key:
    wget -O - /repo.saltstack.com/apt/debian/9/armhf/2018.3/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
    wget -O - /repo.saltstack.com/py3/debian/9/armhf/2018.3/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
    wget -O - /repo.saltstack.com/apt/debian/8/armhf/2018.3/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
  2. Save the following file to /etc/apt/sources.list.d/saltstack.list:
    deb /repo.saltstack.com/apt/debian/9/armhf/2018.3 stretch main
    deb /repo.saltstack.com/py3/debian/9/armhf/2018.3 stretch main
    deb /repo.saltstack.com/apt/debian/8/armhf/2018.3 jessie main
  3. Run sudo apt-get update

  4. Install the salt-minion, salt-master, or other Salt components:
    • sudo apt-get install salt-master
    • sudo apt-get install salt-minion
    • sudo apt-get install salt-ssh
    • sudo apt-get install salt-syndic
    • sudo apt-get install salt-cloud
    • sudo apt-get install salt-api
  5. (Upgrade only) Restart all upgraded services, for example:

    sudo systemctl restart salt-minion

681-307-9806


Installs a specific release. Updating doesn’t change the release that is installed.

  1. Run the following command to import the SaltStack repository key:
    wget -O - /repo.saltstack.com/apt/debian/9/armhf/archive/2018.3.0/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
    wget -O - /repo.saltstack.com/py3/debian/9/armhf/archive/2018.3.0/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
    wget -O - /repo.saltstack.com/apt/debian/8/armhf/archive/2018.3.0/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
  2. Save the following file to /etc/apt/sources.list.d/saltstack.list:
    deb /repo.saltstack.com/apt/debian/9/armhf/archive/2018.3.0 stretch main
    deb /repo.saltstack.com/py3/debian/9/armhf/archive/2018.3.0 stretch main
    deb /repo.saltstack.com/apt/debian/8/armhf/archive/2018.3.0 jessie main
  3. Run sudo apt-get update

  4. Install the salt-minion, salt-master, or other Salt components:
    • sudo apt-get install salt-master
    • sudo apt-get install salt-minion
    • sudo apt-get install salt-ssh
    • sudo apt-get install salt-syndic
    • sudo apt-get install salt-cloud
    • sudo apt-get install salt-api
  5. (Upgrade only) Restart all upgraded services, for example:

    sudo systemctl restart salt-minion

Post-installation configuration


Create a Local Mirror of the SaltStack Package Repo

The SaltStack package repo supports mirroring using rsync.

rsync rsync:/repo.saltstack.com

For example:

rsync -vaH --numeric-ids --delete --delete-after --delay-updates rsync:/repo.saltstack.com/saltstack_pkgrepo_full ./fullrepo

Other Platforms

For installation on other platforms and alternative installation methods, see the (203) 778-9942.