2015-06-02 21:40:53 +02:00
|
|
|
{% 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') %}
|
2016-01-08 18:21:22 +01:00
|
|
|
saltstack-pkgrepo:
|
2015-06-02 21:40:53 +02:00
|
|
|
pkgrepo.managed:
|
2019-04-01 14:50:27 +02:00
|
|
|
- name: saltstack
|
2016-01-08 18:21:22 +01:00
|
|
|
- humanname: SaltStack repo for RHEL/CentOS $releasever
|
2017-05-30 09:18:54 +02:00
|
|
|
- baseurl: {{ salt_settings.pkgrepo }}
|
2015-06-02 21:40:53 +02:00
|
|
|
- enabled: 1
|
2016-01-08 18:21:22 +01:00
|
|
|
- gpgcheck: 1
|
2017-05-30 09:18:54 +02:00
|
|
|
- gpgkey: {{ salt_settings.key_url }}
|
2019-03-27 13:07:06 +01:00
|
|
|
{% endif %}
|