Saltstack Official Salt Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

128 rindas
3.4KB

  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. pygit2: python-pygit2
  45. pyinotify: python-pyinotify
  46. gitfs:
  47. pygit2:
  48. install_from_source: False
  49. git:
  50. require_state: False
  51. install_from_package: git
  52. master:
  53. gitfs_provider: pygit2
  54. Gentoo:
  55. salt_master: app-admin/salt
  56. salt_minion: app-admin/salt
  57. salt_syndic: app-admin/salt
  58. salt_api: app-admin/salt
  59. salt_cloud: app-admin/salt
  60. pyinotify: dev-python/pyinotify
  61. Arch:
  62. salt_master: salt
  63. salt_minion: salt
  64. salt_syndic: salt
  65. salt_cloud: salt
  66. salt_api: salt
  67. salt_ssh: salt
  68. python_git: python2-gitpython
  69. pygit2: python2-pygit2
  70. libgit2: libgit2
  71. pyinotify: python2-pyinotify
  72. Alpine:
  73. salt-master: salt-master
  74. salt_minion: salt-minion
  75. salt_syndic: salt-syndic
  76. salt_cloud: salt-cloud
  77. salt_api: salt-api
  78. salt_ssh: salt-ssh
  79. pygit2: py2-pygit2
  80. libgit2: libgit2
  81. FreeBSD:
  82. salt_master: py27-salt
  83. salt_minion: py27-salt
  84. salt_syndic: py27-salt
  85. salt_cloud: py27-salt
  86. salt_api: py27-salt
  87. salt_ssh: py27-salt
  88. python_git: py27-GitPython
  89. pygit2: py27-pygit2
  90. config_path: /usr/local/etc/salt
  91. minion_service: salt_minion
  92. master_service: salt_master
  93. api_service: salt_api
  94. syndic_service: salt_syndic
  95. OpenBSD:
  96. salt_master: salt
  97. salt_minion: salt
  98. salt_syndic: salt
  99. salt_cloud: salt
  100. salt_api: salt
  101. salt_ssh: salt
  102. config_path: /etc/salt
  103. minion_service: salt_minion
  104. master_service: salt_master
  105. python_git: py-GitPython
  106. Windows:
  107. salt_minion: salt-minion
  108. config_path: 'C:\salt\conf'
  109. minion_service: salt-minion
  110. MacOS:
  111. salt_minion: com.saltstack.salt
  112. salt_minion_pkg_source: ''
  113. salt_minion_pkg_hash: ''
  114. config_path: /private/etc/salt
  115. minion_service: com.saltstack.salt.minion