New version of salt-formula from Saltstack
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

21 lines
764B

  1. doc:
  2. name: Salt
  3. description: Salt is a new approach to infrastructure management. Easy enough to get running in minutes, scalable enough to manage tens of thousands of servers, and fast enough to communicate with them in seconds.
  4. role:
  5. {%- if pillar.salt.minion is defined %}
  6. {%- from "salt/map.jinja" import minion with context %}
  7. minion:
  8. name: minion
  9. param:
  10. version:
  11. value: {{ salt['cmd.run']('salt-minion --version')|replace('salt-minion ', '') }}
  12. {%- endif %}
  13. {%- if pillar.salt.master is defined %}
  14. {%- from "salt/map.jinja" import master with context %}
  15. master:
  16. name: master
  17. param:
  18. version:
  19. value: {{ salt['cmd.run']('salt --version')|replace('salt ', '') }}
  20. {%- endif %}