Saltstack Official Salt Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 line
2.4KB

  1. {% set salt = salt['grains.filter_by']({
  2. 'Debian': {'salt-master': 'salt-master',
  3. 'salt-minion': 'salt-minion',
  4. 'salt-syndic': 'salt-syndic',
  5. 'salt-cloud': 'salt-cloud',
  6. 'salt-ssh': 'salt-ssh'},
  7. 'Ubuntu': {'salt-master': 'salt-master',
  8. 'salt-minion': 'salt-minion',
  9. 'salt-syndic': 'salt-syndic',
  10. 'salt-cloud': 'salt-cloud',
  11. 'salt-ssh': 'salt-ssh'},
  12. 'CentOS': {'salt-master': 'salt-master',
  13. 'salt-minion': 'salt-minion',
  14. 'salt-syndic': 'salt-syndic',
  15. 'salt-cloud': 'salt-cloud',
  16. 'salt-ssh': 'salt-ssh'},
  17. 'Amazon': {'salt-master': 'salt-master',
  18. 'salt-minion': 'salt-minion',
  19. 'salt-syndic': 'salt-syndic',
  20. 'salt-cloud': 'salt-cloud',
  21. 'salt-ssh': 'salt-ssh'},
  22. 'Fedora': {'salt-master': 'salt-master',
  23. 'salt-minion': 'salt-minion',
  24. 'salt-syndic': 'salt-syndic',
  25. 'salt-cloud': 'salt-cloud',
  26. 'salt-ssh': 'salt-ssh'},
  27. 'RedHat': {'salt-master': 'salt-master',
  28. 'salt-minion': 'salt-minion',
  29. 'salt-syndic': 'salt-syndic',
  30. 'salt-cloud': 'salt-cloud',
  31. 'salt-ssh': 'salt-ssh'},
  32. 'Gentoo': {'salt-master': 'app-admin/salt',
  33. 'salt-minion': 'app-admin/salt',
  34. 'salt-syndic': 'app-admin/salt',
  35. 'salt-cloud': 'app-admin/salt'},
  36. 'Arch': {'salt-master': 'salt-zmq',
  37. 'salt-minion': 'salt-zmq',
  38. 'salt-syndic': 'salt-zmq',
  39. 'salt-cloud': 'salt-zmq',
  40. 'salt-ssh': 'salt-zmq'},
  41. 'openSUSE':{'salt-master': 'salt-master',
  42. 'salt-minion': 'salt-minion',
  43. 'salt-syndic': 'salt-syndic',
  44. 'salt-cloud': 'salt-cloud',
  45. 'salt-ssh': 'salt-ssh'},
  46. 'FreeBSD': {'salt-master': 'py27-salt',
  47. 'salt-minion': 'py27-salt',
  48. 'salt-syndic': 'py27-salt',
  49. 'salt-cloud': 'py27-salt',
  50. 'config-path': '/usr/local/etc/salt',
  51. 'minion-service': 'salt_minion',
  52. 'master-service': 'salt_master',
  53. 'syndic-service': 'salt_syndic'},
  54. }, merge=salt['pillar.get']('salt:lookup')) %}