Saltstack Official Salt Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

install.sls 554B

123456789101112131415161718
  1. # -*- coding: utf-8 -*-
  2. # vim: ft=sls
  3. {%- from "salt/map.jinja" import salt_settings with context %}
  4. {%- if grains['os']|lower not in ['fedora'] %}
  5. salt-pkgrepo-install-saltstack-redhat:
  6. pkgrepo.managed:
  7. - name: {{ salt_settings.pkgrepo_name }}
  8. - humanname: {{ salt_settings.pkgrepo_humanname }}
  9. - baseurl: {{ salt_settings.pkgrepo }}
  10. - enabled: 1
  11. - gpgcheck: 1
  12. - gpgkey: {{ salt_settings.key_url }}
  13. {%- if grains['os']|lower in ['amazon'] %}
  14. - failovermethod: priority
  15. - priority: 10
  16. {%- endif %}
  17. {%- endif %}