mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-11-28 07:18:02 +01:00
15 lines
434 B
Plaintext
15 lines
434 B
Plaintext
# -*- coding: utf-8 -*-
|
|
# vim: ft=sls
|
|
{% from "salt/map.jinja" import salt_settings with context %}
|
|
|
|
{%- if grains['os']|lower not in ('amazon', 'fedora') %}
|
|
salt-pkgrepo-install-saltstack-redhat:
|
|
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 %}
|