Saltstack Official Salt Formula
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

58 linhas
2.1KB

  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. Fedora:
  15. pygit2: python2-pygit2
  16. Amazon:
  17. pkgrepo_name: saltstack-amzn-repo
  18. pkgrepo_humanname: SaltStack repo for Amazon Linux 2
  19. pkgrepo: 'https://repo.saltstack.com/{{ py_ver_dir or 'yum' }}/amazon/2/$basearch/{{ salt_release }}'
  20. key_url: 'https://repo.saltstack.com/{{ py_ver_dir or 'yum' }}/amazon/2/$basearch/{{ salt_release }}/SALTSTACK-GPG-KEY.pub'
  21. Ubuntu:
  22. pkgrepo: 'deb http://repo.saltstack.com/{{ py_ver_dir or 'apt' }}/{{ os_lower }}/{{ osrelease }}/amd64/{{ salt_release }} {{ oscodename }} main'
  23. key_url: 'https://repo.saltstack.com/{{ py_ver_dir or 'apt' }}/{{ os_lower }}/{{ osrelease }}/amd64/{{ salt_release }}/SALTSTACK-GPG-KEY.pub'
  24. pygit2: python-pygit2
  25. gitfs:
  26. pygit2:
  27. install_from_source: false
  28. git:
  29. require_state: false
  30. install_from_package: Null
  31. Raspbian:
  32. pkgrepo: 'deb http://repo.saltstack.com/{{ py_ver_dir or 'apt' }}/{{ os_family_lower }}/{{ osmajorrelease }}/armhf/{{ salt_release }} {{ oscodename }} main'
  33. key_url: 'https://repo.saltstack.com/{{ py_ver_dir or 'apt' }}/{{ os_family_lower }}/{{ osmajorrelease }}/armhf/{{ salt_release }}/SALTSTACK-GPG-KEY.pub'
  34. SmartOS:
  35. salt_master: salt
  36. salt_minion: salt
  37. salt_syndic: salt
  38. salt_cloud: salt
  39. salt_api: salt
  40. salt_ssh: salt
  41. minion_service: 'salt:minion'
  42. master_service: 'salt:master'
  43. api_service: 'salt:api'
  44. python_dulwich: {{ py_ver_dir or 'py27' }}{{ '-dulwich' }}
  45. gitfs:
  46. dulwich:
  47. install_from_source: false
  48. config_path: /opt/local/etc/salt
  49. master:
  50. gitfs_provider: dulwich