2
0
salt-formula/salt/pkgrepo/redhat/init.sls

12 lines
350 B
Plaintext
Raw Normal View History

{% from "salt/map.jinja" import salt_settings with context %}
2019-03-31 18:02:13 +02:00
{%- 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 %}