Beginning with version 0.9.4, Salt has been available in the primary Fedora
repositories and EPEL. It is installable using
on your version of Fedora.
Released versions of Salt starting with
do not have Fedora packages available though EPEL. To install a version
of Salt within this release array, please use SaltStack's Bootstrap Script
and use the git method of installing Salt using the version's associated
2016.3.3 and onward will have packaged versions available via
WARNING: Fedora 19 comes with systemd 204. Systemd has known bugs fixed in later revisions that prevent the salt-master from starting reliably or opening the network connections that it needs to. It's not likely that a salt-master will start or run reliably on any distribution that uses systemd version 204 or earlier. Running salt-minions should be OK.
Salt can be installed using
yum and is available in the standard Fedora
Salt is packaged separately for the minion and the master. It is necessary only to install the appropriate package for the role the machine will play. Typically, there will be one master and multiple minions.
yum install salt-master
yum install salt-minion
When a new Salt release is packaged, it is first admitted into the
updates-testing repository, before being moved to the stable repo.
To install from
updates-testing, use the
enablerepo argument for yum:
yum --enablerepo=updates-testing install salt-master
yum --enablerepo=updates-testing install salt-minion
Since Salt is on PyPI, it can be installed using pip, though most users prefer to install using a package manager.
Installing from pip has a few additional requirements:
Install the group 'Development Tools',
dnf groupinstall 'Development Tools'
Install the 'zeromq-devel' package if it fails on linking against that afterwards as well.
A pip install does not make the init scripts or the /etc/salt directory, and you will need to provide your own systemd service unit.
Installation from pip:
pip install salt
If installing from pip (or from source using
setup.py install), be
advised that the
yum-utils package is needed for Salt to manage
packages. Also, if the Python dependencies are not already installed, then
you will need additional libraries/tools installed to build some of them.
More information on this can be found here.
To have the Master start automatically at boot time:
systemctl enable salt-master.service
To start the Master:
systemctl start salt-master.service
To have the Minion start automatically at boot time:
systemctl enable salt-minion.service
To start the Minion:
systemctl start salt-minion.service
Now go to the Configuring Salt page.