0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2024-11-28 13:47:38 +01:00
salt-formula/salt/pkgrepo/redhat/init.sls
2019-03-31 13:02:13 -03:00

12 lines
350 B
Plaintext

{% from "salt/map.jinja" import salt_settings with context %}
{%- if grains['os']|lower not in ('amazon', 'fedora') %}
saltstack-pkgrepo:
pkgrepo.managed:
- humanname: SaltStack repo for RHEL/CentOS $releasever
- baseurl: {{ salt_settings.pkgrepo }}
- enabled: 1
- gpgcheck: 1
- gpgkey: {{ salt_settings.key_url }}
{% endif %}