Saltstack Official Salt Formula
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

5 лет назад
5 лет назад
5 лет назад
5 лет назад
5 лет назад
5 лет назад
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. {% import_yaml "salt/ospyvermap.yaml" as ospyvermap %}
  4. {% set ospyver = salt['grains.filter_by'](ospyvermap, grain='os_family') or {} %}
  5. {% set py_ver_dir = salt['pillar.filter_by'](ospyver, pillar='salt:py_ver', default='py2') %}
  6. {% set osrelease = salt['grains.get']('osrelease') %}
  7. {% set salt_release = salt['pillar.get']('salt:release', 'latest') %}
  8. {% if salt_release.split('.')|length >= 3 %}
  9. {% set salt_release = 'archive/' ~ salt_release %}
  10. {% endif %}
  11. {% set os_lower = salt['grains.get']('os')|lower %}
  12. {% set osmajorrelease = salt['grains.get']('osmajorrelease', osrelease)|string %}
  13. {% set oscodename = salt['grains.get']('oscodename') %}
  14. Fedora:
  15. pygit2: python2-pygit2
  16. Ubuntu:
  17. pkgrepo: 'deb http://repo.saltstack.com/{{ py_ver_dir }}/{{ os_lower }}/{{ osrelease }}/amd64/{{ salt_release }} {{ oscodename }} main'
  18. key_url: 'https://repo.saltstack.com/{{ py_ver_dir }}/{{ os_lower }}/{{ osrelease }}/amd64/{{ salt_release }}/SALTSTACK-GPG-KEY.pub'
  19. pygit2: python-pygit2
  20. gitfs:
  21. pygit2:
  22. install_from_source: False
  23. git:
  24. require_state: False
  25. install_from_package: Null
  26. Raspbian:
  27. pkgrepo: 'deb http://repo.saltstack.com/{{ py_ver_dir }}/{{ os_lower }}/{{ osmajorrelease }}/armhf/{{ salt_release }} {{ oscodename }} main'
  28. key_url: 'https://repo.saltstack.com/{{ py_ver_dir }}/{{ os_lower }}/{{ osmajorrelease }}/armhf/{{ salt_release }}/SALTSTACK-GPG-KEY.pub'
  29. SmartOS:
  30. salt_master: salt
  31. salt_minion: salt
  32. salt_syndic: salt
  33. salt_cloud: salt
  34. salt_api: salt
  35. salt_ssh: salt
  36. minion_service: 'salt:minion'
  37. master_service: 'salt:master'
  38. api_service: 'salt:api'
  39. python_dulwich: 'py27-dulwich'
  40. gitfs:
  41. dulwich:
  42. install_from_source: False
  43. config_path: /opt/local/etc/salt
  44. master:
  45. gitfs_provider: dulwich