Saltstack Official Salt Formula
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

64 lines
2.3KB

  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. {% import_yaml "salt/ospyvermap.yaml" as ospyvermap %}
  5. {% set ospyver = salt['grains.filter_by'](ospyvermap, grain='os_family') or {} %}
  6. {% set py_ver_dir = salt['pillar.filter_by'](ospyver, pillar='salt:py_ver', default='py2') %}
  7. {% set osrelease = salt['grains.get']('osrelease') %}
  8. {% set salt_release = salt['pillar.get']('salt:release', 'latest') %}
  9. {% if salt_release.split('.')|length >= 3 %}
  10. {% set salt_release = 'archive/' ~ salt_release %}
  11. {% endif %}
  12. {% set os_lower = salt['grains.get']('os')|lower %}
  13. {% set osmajorrelease = salt['grains.get']('osmajorrelease', osrelease)|string %}
  14. {% set oscodename = salt['grains.get']('oscodename') %}
  15. {% set os_family_lower = salt['grains.get']('os_family')|lower %}
  16. Fedora:
  17. pygit2: python2-pygit2
  18. Amazon:
  19. pkgrepo_name: saltstack-amzn-repo
  20. pkgrepo_humanname: SaltStack repo for Amazon Linux 2
  21. pkgrepo: 'https://repo.saltstack.com/yum/amazon/2/$basearch/{{ salt_release }}'
  22. key_url: 'https://repo.saltstack.com/yum/amazon/2/$basearch/{{ salt_release }}/SALTSTACK-GPG-KEY.pub'
  23. Ubuntu:
  24. pkgrepo: 'deb http://repo.saltstack.com/{{ py_ver_dir }}/{{ os_lower }}/{{ osrelease }}/amd64/{{ salt_release }} {{ oscodename }} main'
  25. key_url: 'https://repo.saltstack.com/{{ py_ver_dir }}/{{ os_lower }}/{{ osrelease }}/amd64/{{ salt_release }}/SALTSTACK-GPG-KEY.pub'
  26. pygit2: python-pygit2
  27. gitfs:
  28. pygit2:
  29. install_from_source: false
  30. git:
  31. require_state: false
  32. install_from_package: Null
  33. Raspbian:
  34. pkgrepo: 'deb http://repo.saltstack.com/{{ py_ver_dir }}/{{ os_family_lower }}/{{ osmajorrelease }}/armhf/{{ salt_release }} {{ oscodename }} main'
  35. key_url: 'https://repo.saltstack.com/{{ py_ver_dir }}/{{ os_family_lower }}/{{ osmajorrelease }}/armhf/{{ salt_release }}/SALTSTACK-GPG-KEY.pub'
  36. SmartOS:
  37. salt_master: salt
  38. salt_minion: salt
  39. salt_syndic: salt
  40. salt_cloud: salt
  41. salt_api: salt
  42. salt_ssh: salt
  43. minion_service: 'salt:minion'
  44. master_service: 'salt:master'
  45. api_service: 'salt:api'
  46. python_dulwich: 'py27-dulwich'
  47. gitfs:
  48. dulwich:
  49. install_from_source: false
  50. config_path: /opt/local/etc/salt
  51. master:
  52. gitfs_provider: dulwich
  53. MacOS:
  54. salt_master_macos_plist_hash: 9c55cb448269f4d7c433429448d1ec7dda260f180bbcf5197bc430f7645017de
  55. salt_minion_macos_plist_hash: 6383d2d336b06802bfdf25a4c21ee25c85ee9fa57d3ef5776321d9c8cd096395