saltstack/salt-el5

Project ID: 2654

Description

Current release: 2015.5.2

This repository is for RHEL/CentOS 5 builds of Salt. It is now the official means of distributing Salt for RHEL/CentOS 5.

Looking for Fedora or RHEL/CentOS 6/7 builds?

They are in a separate COPR.

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 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') and salt['grains.get']('osmajorrelease', 'unknown') == '5' %} saltstack-copr-el5: pkgrepo.managed: - humanname: Copr repo for salt owned by saltstack - baseurl: https://copr-be.cloud.fedoraproject.org/results/saltstack/salt-el5/epel-5-$basearch/ - gpgkey: https://copr-be.cloud.fedoraproject.org/results/saltstack/salt-el5/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') and salt['grains.get']('osmajorrelease', 'unknown') == '5' %} /etc/yum.repos.d/saltstack-salt-el5.repo: file.managed: - source: salt://path/to/saltstack-salt-el5.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') and salt['grains.get']('osmajorrelease', 'unknown') == '5' %} 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

* Total number of downloaded packages.

External Repository List

The following repositories are accessible during builds