mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-12-01 04:11:17 +01:00
4231029c62
To match the one used by the bootstrapper. Otherwhise, we end up with two repos configured
13 lines
372 B
Plaintext
13 lines
372 B
Plaintext
{% from "salt/map.jinja" import salt_settings with context %}
|
|
|
|
{%- if grains['os']|lower not in ('amazon', 'fedora') %}
|
|
saltstack-pkgrepo:
|
|
pkgrepo.managed:
|
|
- name: saltstack
|
|
- humanname: SaltStack repo for RHEL/CentOS $releasever
|
|
- baseurl: {{ salt_settings.pkgrepo }}
|
|
- enabled: 1
|
|
- gpgcheck: 1
|
|
- gpgkey: {{ salt_settings.key_url }}
|
|
{% endif %}
|