New version of salt-formula from Saltstack
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.

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 %}