Saltstack Official Salt Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

osfamilymap.yaml 3.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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 osfamily_lower = salt['grains.get']('os_family')|lower %}
  12. {% set osmajorrelease = salt['grains.get']('osmajorrelease', osrelease)|string %}
  13. {% set oscodename = salt['grains.get']('oscodename') %}
  14. Debian:
  15. pkgrepo: 'deb http://repo.saltstack.com/{{ py_ver_dir }}/{{ osfamily_lower }}/{{ osmajorrelease }}/amd64/{{ salt_release }} {{ oscodename }} main'
  16. key_url: 'https://repo.saltstack.com/{{ py_ver_dir }}/{{ osfamily_lower }}/{{ osmajorrelease }}/amd64/{{ salt_release }}/SALTSTACK-GPG-KEY.pub'
  17. libgit2: libgit2-22
  18. pyinotify: python-pyinotify
  19. gitfs:
  20. pygit2:
  21. install_from_source: True
  22. version: 0.22.1
  23. git:
  24. require_state: False
  25. install_from_package: git
  26. libgit2:
  27. install_from_source: False
  28. RedHat:
  29. pkgrepo: 'https://repo.saltstack.com/{{ py_ver_dir }}/redhat/$releasever/$basearch/{{ salt_release }}'
  30. key_url: 'https://repo.saltstack.com/{{ py_ver_dir }}/redhat/$releasever/$basearch/{{ salt_release }}/SALTSTACK-GPG-KEY.pub'
  31. pygit2: python-pygit2
  32. python_git: GitPython
  33. gitfs:
  34. gitpython:
  35. install_from_source: False
  36. pygit2:
  37. install_from_source: False
  38. git:
  39. require_state: False
  40. install_from_package: git
  41. master:
  42. gitfs_provider: pygit2
  43. Suse:
  44. pkgrepo: 'http://repo.saltstack.com/opensuse/openSUSE_Leap_{{ osrelease }}/'
  45. key_url: 'http://repo.saltstack.com/opensuse/openSUSE_Leap_{{ osrelease }}/repodata/repomd.xml.key'
  46. pygit2: python-pygit2
  47. pyinotify: python-pyinotify
  48. gitfs:
  49. pygit2:
  50. install_from_source: False
  51. git:
  52. require_state: False
  53. install_from_package: git
  54. master:
  55. gitfs_provider: pygit2
  56. Gentoo:
  57. salt_master: app-admin/salt
  58. salt_minion: app-admin/salt
  59. salt_syndic: app-admin/salt
  60. salt_api: app-admin/salt
  61. salt_cloud: app-admin/salt
  62. pyinotify: dev-python/pyinotify
  63. Arch:
  64. salt_master: salt
  65. salt_minion: salt
  66. salt_syndic: salt
  67. salt_cloud: salt
  68. salt_api: salt
  69. salt_ssh: salt
  70. python_git: python2-gitpython
  71. pygit2: python2-pygit2
  72. libgit2: libgit2
  73. pyinotify: python2-pyinotify
  74. Alpine:
  75. salt-master: salt-master
  76. salt_minion: salt-minion
  77. salt_syndic: salt-syndic
  78. salt_cloud: salt-cloud
  79. salt_api: salt-api
  80. salt_ssh: salt-ssh
  81. pygit2: py2-pygit2
  82. libgit2: libgit2
  83. FreeBSD:
  84. salt_master: py27-salt
  85. salt_minion: py27-salt
  86. salt_syndic: py27-salt
  87. salt_cloud: py27-salt
  88. salt_api: py27-salt
  89. salt_ssh: py27-salt
  90. python_git: py27-GitPython
  91. pygit2: py27-pygit2
  92. config_path: /usr/local/etc/salt
  93. minion_service: salt_minion
  94. master_service: salt_master
  95. api_service: salt_api
  96. syndic_service: salt_syndic
  97. OpenBSD:
  98. salt_master: salt
  99. salt_minion: salt
  100. salt_syndic: salt
  101. salt_cloud: salt
  102. salt_api: salt
  103. salt_ssh: salt
  104. config_path: /etc/salt
  105. minion_service: salt_minion
  106. master_service: salt_master
  107. python_git: py-GitPython
  108. Windows:
  109. salt_minion: salt-minion
  110. config_path: 'C:\salt\conf'
  111. minion_service: salt-minion
  112. MacOS:
  113. salt_minion: com.saltstack.salt
  114. salt_minion_pkg_source: ''
  115. salt_minion_pkg_hash: ''
  116. config_path: /private/etc/salt
  117. minion_service: com.saltstack.salt.minion