From 4b676f83076688e122a7276c9b1c1fea80669560 Mon Sep 17 00:00:00 2001 From: Jordi Prats Date: Wed, 25 Mar 2020 11:52:21 +0100 Subject: [PATCH] centos 5 --- CHANGELOG.md | 4 ++++ manifests/params.pp | 14 ++++++++++++++ metadata.json | 12 ++++++------ 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1501b79..73cb3e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 0.1.15 + +* added support for **CentOS 5** + ## 0.1.14 * added static grains for saltstak::minion diff --git a/manifests/params.pp b/manifests/params.pp index 7fb8a79..51759ed 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -27,6 +27,20 @@ case $::operatingsystemrelease { + /^5.*$/: + { + $api_dependencies=undef + $saltstack_repo_url_key_source=undef + $saltstack_repo_url = { + 'latest' => 'https://repo.saltstack.com/yum/redhat/salt-repo-latest-1.el5.noarch.rpm', + '2015.5' => 'https://repo.saltstack.com/yum/redhat/salt-repo-2015.5-1.el5.noarch.rpm', + '2015.8' => 'https://repo.saltstack.com/yum/redhat/salt-repo-2015.8-3.el5.noarch.rpm', + '2016.11' => 'https://repo.saltstack.com/yum/redhat/salt-repo-2016.11-1.el5.noarch.rpm', + '2016.3' => 'https://repo.saltstack.com/yum/redhat/salt-repo-2016.3-1.el5.noarch.rpm', + } + + $windows_dependencies=undef + } /^6.*$/: { $api_dependencies=undef diff --git a/metadata.json b/metadata.json index b4a73bc..821c087 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "eyp-saltstack", - "version": "0.1.14", + "version": "0.1.15", "author": "eyp", "summary": "saltstack - minion, master, api, cloud, syndic and ssh setup and configuration", "license": "Apache-2.0", @@ -17,23 +17,23 @@ "operatingsystem_support": [ { "operatingsystem": "RedHat", - "operatingsystemrelease": [ "6", "7" ] + "operatingsystemrelease": [ "5", "6", "7" ] }, { "operatingsystem": "CentOS", - "operatingsystemrelease": [ "6", "7" ] + "operatingsystemrelease": [ "5", "6", "7" ] }, { "operatingsystem": "Scientific", - "operatingsystemrelease": [ "6", "7" ] + "operatingsystemrelease": [ "5", "6", "7" ] }, { "operatingsystem": "OEL", - "operatingsystemrelease": [ "6", "7" ] + "operatingsystemrelease": [ "5", "6", "7" ] }, { "operatingsystem": "OracleLinux", - "operatingsystemrelease": [ "6", "7" ] + "operatingsystemrelease": [ "5", "6", "7" ] }, { "operatingsystem": "Ubuntu",