Description
Current release: 2015.5.2
This repository is for release candidate builds of Salt, as well as official releases, for those that do not want to wait for EPEL to be updated.
Looking for RHEL/CentOS 5 builds?
They are in a separate COPR. This is due to a lack of continuing support for Python 2.6 packages in EPEL5, making it necessary for us to have a separate repo for RHEL/CentOS 5 containing all Python 2.6 dependencies.
Installation Instructions
WARNING
Starting with version 2014.7.0rc4, the following components of Salt have been broken out of the salt-master package and placed into their own new packages:
- salt-syndic
- salt-cloud
- salt-ssh
- salt-api
If you are using any of these components, and are upgrading from a version of Salt earlier than 2014.7.0rc4, then when the updated salt-master package is installed these components will be removed, and they will need to be manually installed.
What packages does this repo provide?
- salt - Common files
- salt-master - salt-master daemon
- salt-minion - salt-minion daemon
- salt-syndic - salt-syndic daemon
- salt-cloud - Cloud controller for Salt
- salt-ssh - Agentless SSH-based Salt tool
- salt-api - Salt's REST API
Enabling This Repository
Manually
To manually enable this repository, download the appropriate repo file from the Active Releases section below and place it into /etc/yum.repos.d.
Using Salt
This repo can be enabled using a pkgrepo.managed state, for easier deployment to your minions:
{% if grains['os'] in ('RedHat', 'CentOS', 'Fedora') %}
{% if grains['os'] == 'Fedora' %}
{% set repotype = 'fedora' %}
{% else %}
{% set repotype = 'epel' %}
{% endif %}
saltstack-copr:
pkgrepo.managed:
- humanname: Copr repo for salt owned by saltstack
- baseurl: http://copr-be.cloud.fedoraproject.org/results/saltstack/salt/{{ repotype }}-{{ salt['grains.get']('osmajorrelease', 'unknown') }}-$basearch/
- gpgkey: https://copr-be.cloud.fedoraproject.org/results/saltstack/salt/pubkey.gpg
- gpgcheck: 1
- skip_if_unavailable: True
- enabled: 1
{% endif %}
Alternatively, the repo file can be downloaded from the Yum Repos list below and then deployed using a file.managed state:
{% if grains['os'] in ('RedHat', 'CentOS', 'Fedora') %}
{% if grains['os'] == 'Fedora' %}
{% set repotype = 'fedora' %}
{% else %}
{% set repotype = 'epel' %}
{% endif %}
/etc/yum.repos.d/saltstack-salt-{{ repotype }}-{{ salt['grains.get']('osmajorrelease', 'unknown') }}.repo:
file.managed:
- source: salt://path/to/saltstack-salt-{{ repotype }}-{{ salt['grains.get']('osmajorrelease', 'unknown') }}.repo
- user: root
- group: root
- mode: 644
{% endif %}
Either of the above two methods can be combined with a pkg.latest state to upgrade the salt-minion package, and a cmd.wait state to restart the salt-minion service.
{% if grains['os'] in ('RedHat', 'CentOS', 'Fedora') %}
update_salt:
pkg:
- latest
- name: salt-minion
- order: last
cmd:
- wait
- name: echo service salt-minion restart | at now + 1 minute
- watch:
- pkg: update_salt
{% endif %}
Note: This example assumes that atd is installed and running, see here for a more detailed explanation.
Reporting Bugs
Bugs for this repository can be reported on the SaltStack issue tracker on GitHub.
Active Releases
The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).
Release | Architectures | Repo Download |
---|---|---|
EPEL 6 | i386 (39)*, x86_64 (42)* | EPEL 6 (0 downloads) |
EPEL 7 | x86_64 (36)* | EPEL 7 (52070 downloads) |
* Total number of downloaded packages.
External Repository List
The following repositories are accessible during builds