New version of salt-formula from Saltstack
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

21 lines
768B

  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.shell']('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.shell']('salt --version')|replace('salt ', '') }}
  20. {%- endif %}