updated salt setup
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{% from "salt/map.jinja" import salt_daemons with context %}
|
||||
|
||||
{% if grains['os'] != 'CentOS' %}
|
||||
{% if grains['os'] not in ('CentOS', 'AlmaLinux') %}
|
||||
{{ raise("Unsupported distro") }}
|
||||
{% endif %}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
salt:
|
||||
pkgrepo.managed:
|
||||
- baseurl: "https://repo.saltproject.io/salt/py3/redhat/{{ grains['osmajorrelease'] }}/x86_64/minor/{{ salt.pillar.get("salt:version") }}"
|
||||
- humanname: Salt repo for RHEL/CentOS {{ grains['osmajorrelease'] }} PY3
|
||||
- humanname: Salt repo for RHEL/CentOS/AlmaLinux {{ grains['osmajorrelease'] }} PY3
|
||||
- gpgkey: file:///etc/pki/rpm-gpg/SALT-PROJECT-GPG-PUBKEY-2023
|
||||
- skip_if_unavailable: true
|
||||
- failovermethod: priority
|
||||
|
||||
Reference in New Issue
Block a user