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

osmap.yaml 1.9KB

6年前
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. {% set os_family_lower = salt['grains.get']('os_family')|lower %}
  15. Fedora:
  16. pygit2: python2-pygit2
  17. Ubuntu:
  18. pkgrepo: 'deb http://repo.saltstack.com/{{ py_ver_dir }}/{{ os_lower }}/{{ osrelease }}/amd64/{{ salt_release }} {{ oscodename }} main'
  19. key_url: 'https://repo.saltstack.com/{{ py_ver_dir }}/{{ os_lower }}/{{ osrelease }}/amd64/{{ salt_release }}/SALTSTACK-GPG-KEY.pub'
  20. pygit2: python-pygit2
  21. gitfs:
  22. pygit2:
  23. install_from_source: False
  24. git:
  25. require_state: False
  26. install_from_package: Null
  27. Raspbian:
  28. pkgrepo: 'deb http://repo.saltstack.com/{{ py_ver_dir }}/{{ os_family_lower }}/{{ osmajorrelease }}/armhf/{{ salt_release }} {{ oscodename }} main'
  29. key_url: 'https://repo.saltstack.com/{{ py_ver_dir }}/{{ os_family_lower }}/{{ osmajorrelease }}/armhf/{{ salt_release }}/SALTSTACK-GPG-KEY.pub'
  30. SmartOS:
  31. salt_master: salt
  32. salt_minion: salt
  33. salt_syndic: salt
  34. salt_cloud: salt
  35. salt_api: salt
  36. salt_ssh: salt
  37. minion_service: 'salt:minion'
  38. master_service: 'salt:master'
  39. api_service: 'salt:api'
  40. python_dulwich: 'py27-dulwich'
  41. gitfs:
  42. dulwich:
  43. install_from_source: False
  44. config_path: /opt/local/etc/salt
  45. master:
  46. gitfs_provider: dulwich