mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-11-28 11:37:44 +01:00
b2d760cd87
Use py3 for latest salt version Use Python 2 on old distros Update Gemfile Updated centos-6 run_command, as it does not use systemd Added tests to verify correct package versions for all cases tested
12 lines
359 B
Plaintext
12 lines
359 B
Plaintext
{% from "salt/map.jinja" import salt_settings with context %}
|
|
|
|
{%- if grains['os']|lower not in ('amazon', 'fedora', 'suse',) %}
|
|
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 %}
|