add a way to set which release of saltstack to use

SaltStack provides "versioned" repositories, this commit add a way
to set which release of salt to use.
It adds a pillar "salt:release" which can be set to a specific release
(ex: 2016.11). This release is then used to configure properly the
repositories URLs for Debian/Ubuntu/RedHat.
The default behavior is to point to 'latest', retaining the previous
behavior if the "salt:release" pillar is not set.
This commit is contained in:
carpenti committed 2017-05-30 09:18:54 +02:00
1 parent eaf9fc98f6
commit 6622d177bf
3 files changed
+17 -8

No files matched your search

+6
View File
@@ -22,6 +22,12 @@ salt:
salt-cloud: 'salt-cloud'
salt-ssh: 'salt-ssh'
# Set which release of SaltStack to use, default to 'latest'
# To get the available releases:
# * http://repo.saltstack.com/yum/redhat/7/x86_64/
# * http://repo.saltstack.com/apt/debian/8/amd64/
release: 2016.11
# salt master config
master:
fileserver_backend: