Saltstack Official Salt Formula
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

85 行
2.9KB

  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. {%- set py_ver_dir = salt['pillar.get']('salt:py_ver', '') %}
  5. {% set osrelease = salt['grains.get']('osrelease') %}
  6. {% set salt_release = salt['pillar.get']('salt:release', 'latest') %}
  7. {% if salt_release.split('.')|length >= 3 %}
  8. {% set salt_release = 'archive/' ~ salt_release %}
  9. {% endif %}
  10. {% set os_lower = salt['grains.get']('os')|lower %}
  11. {% set osmajorrelease = salt['grains.get']('osmajorrelease', osrelease)|string %}
  12. {% set oscodename = salt['grains.get']('oscodename') %}
  13. {% set os_family_lower = salt['grains.get']('os_family')|lower %}
  14. {% set salt_repo = salt['pillar.get']('salt:repo', 'https://repo.saltstack.com') %}
  15. Fedora:
  16. pygit2: python2-pygit2
  17. Amazon:
  18. pkgrepo_name: saltstack-amzn-repo
  19. pkgrepo_humanname: SaltStack repo for Amazon Linux 2
  20. pkgrepo: '{{ salt_repo }}/{{ py_ver_dir or 'yum' }}/amazon/2/$basearch/{{ salt_release }}'
  21. key_url: '{{ salt_repo }}/{{ py_ver_dir or 'yum' }}/amazon/2/$basearch/{{ salt_release }}/SALTSTACK-GPG-KEY.pub'
  22. Ubuntu:
  23. pkgrepo: 'deb {{ salt_repo }}/{{ py_ver_dir or 'apt' }}/{{ os_lower }}/{{ osrelease }}/amd64/{{ salt_release }} {{ oscodename }} main'
  24. key_url: '{{ salt_repo }}/{{ py_ver_dir or 'apt' }}/{{ os_lower }}/{{ osrelease }}/amd64/{{ salt_release }}/SALTSTACK-GPG-KEY.pub'
  25. pygit2: python-pygit2
  26. gitfs:
  27. pygit2:
  28. install_from_source: false
  29. git:
  30. require_state: false
  31. install_from_package: Null
  32. Raspbian:
  33. pkgrepo: 'deb {{ salt_repo }}/{{ py_ver_dir or 'apt' }}/{{ os_family_lower }}/{{ osmajorrelease }}/armhf/{{ salt_release }} {{ oscodename }} main'
  34. key_url: '{{ salt_repo }}/{{ py_ver_dir or 'apt' }}/{{ os_family_lower }}/{{ osmajorrelease }}/armhf/{{ salt_release }}/SALTSTACK-GPG-KEY.pub'
  35. SmartOS:
  36. salt_master: salt
  37. salt_minion: salt
  38. salt_syndic: salt
  39. salt_cloud: salt
  40. salt_api: salt
  41. salt_ssh: salt
  42. minion_service: 'salt:minion'
  43. master_service: 'salt:master'
  44. api_service: 'salt:api'
  45. python_dulwich: {{ py_ver_dir or 'py27' }}{{ '-dulwich' }}
  46. gitfs:
  47. dulwich:
  48. install_from_source: false
  49. config_path: /opt/local/etc/salt
  50. master:
  51. gitfs_provider: dulwich
  52. MacOS:
  53. minion_service: com.saltstack.salt.minion
  54. master_service: com.saltstack.salt.master
  55. salt_master_macos_plist_hash: 8435331b2d48ca8f0759f216e5b15ec9171a4216b1441328c732c6906728b7c9
  56. salt_minion_macos_plist_hash: 26b33da12e0d8960ee96b488c8352002c22a377c19bf3df3f986a1e49eca8b20
  57. FreeBSD:
  58. salt_master: py37-salt-3002.6
  59. salt_minion: py37-salt-3002.6
  60. salt_syndic: py37-salt-3002.6
  61. salt_cloud: py37-salt-3002.6
  62. salt_api: py37-salt-3002.6
  63. salt_ssh: py37-salt-3002.6
  64. python_git: py37-GitPython-3.1.11
  65. pygit2: py37-pygit2-1.3.0
  66. python_dulwich: py37-dulwich-0.19.16
  67. # If `osfingermap.yaml` is introduced in the future, perhaps better to move to there,
  68. # since this is probably specific to `OpenBSD-6`
  69. OpenBSD:
  70. python_git: py3-GitPython
  71. python_dulwich: py3-dulwich
  72. Windows:
  73. parallel: false # not supported on windows/cygwin