From 8f2191471bcdbc4f413f9a621d72ecf6a67b2841 Mon Sep 17 00:00:00 2001 From: Seth Miller Date: Fri, 8 Jan 2016 11:21:22 -0600 Subject: [PATCH] Replace pkgrepo with offical Saltstack repo issue #180 --- README.rst | 7 +------ salt/pkgrepo/redhat/init.sls | 11 +++++------ 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/README.rst b/README.rst index 6706b4c..fd3948a 100644 --- a/README.rst +++ b/README.rst @@ -73,12 +73,7 @@ For EL distributions, pygit is installed from packages from `EPEL `_. - -On EL distributions, the official Salt `COPR for ZeroMQ 4 `_. Salt itself is installed via `EPEL `_. +benefit from the latest version. This state currently only works on Debian, Ubuntu, RHEL 6/7 and aims to implement the `installation recommendations of the official documentation `_. ``salt.pkgrepo.absent`` ----------------------- diff --git a/salt/pkgrepo/redhat/init.sls b/salt/pkgrepo/redhat/init.sls index feb167c..a99827a 100644 --- a/salt/pkgrepo/redhat/init.sls +++ b/salt/pkgrepo/redhat/init.sls @@ -1,10 +1,9 @@ {% from "salt/map.jinja" import salt_settings with context %} -saltstack-zeromq4: +saltstack-pkgrepo: pkgrepo.managed: - - humanname: Copr repo for zeromq4 owned by saltstack - - baseurl: http://copr-be.cloud.fedoraproject.org/results/saltstack/zeromq4/{{ salt_settings.repotype }}-$releasever-$basearch/ - - gpgcheck: 1 - - gpgkey: https://copr-be.cloud.fedoraproject.org/results/saltstack/zeromq4/pubkey.gpg - - skip_if_unavailable: True + - humanname: SaltStack repo for RHEL/CentOS $releasever + - baseurl: https://repo.saltstack.com/yum/redhat/$releasever/$basearch/latest - enabled: 1 + - gpgcheck: 1 + - gpgkey: https://repo.saltstack.com/yum/redhat/$releasever/$basearch/latest/SALTSTACK-GPG-KEY.pub