New version of salt-formula from Saltstack
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

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