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.

package-map.jinja 933B

pirms 10 gadiem
pirms 11 gadiem
pirms 11 gadiem
123456789101112131415161718192021222324
  1. {% set package_table = {
  2. 'Debian': {'salt-master': 'salt-master',
  3. 'salt-minion': 'salt-minion'},
  4. 'Ubuntu': {'salt-master': 'salt-master',
  5. 'salt-minion': 'salt-minion'},
  6. 'CentOS': {'salt-master': 'salt-master',
  7. 'salt-minion': 'salt-minion'},
  8. 'Amazon': {'salt-master': 'salt-master',
  9. 'salt-minion': 'salt-minion'},
  10. 'Fedora': {'salt-master': 'salt-master',
  11. 'salt-minion': 'salt-minion'},
  12. 'RedHat': {'salt-master': 'salt-master',
  13. 'salt-minion': 'salt-minion'},
  14. 'Gentoo': {'salt-master': 'app-admin/salt',
  15. 'salt-minion': 'app-admin/salt'},
  16. 'Arch': {'salt-master': 'salt',
  17. 'salt-minion': 'salt'}
  18. } %}
  19. {% if 'package_table' in pillar %}
  20. {% set pkgs = pillar['package_table'] %}
  21. {% elif grains['os'] in package_table %}
  22. {% set pkgs = package_table[grains['os']] %}
  23. {% endif %}