New version of salt-formula from Saltstack
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

18 行
373B

  1. {% from "salt/map.jinja" import control with context %}
  2. {%- if control.enabled %}
  3. /etc/salt/cloud.providers:
  4. file.managed:
  5. - source: salt://salt/files/providers.conf
  6. - user: root
  7. - group: root
  8. - template: jinja
  9. /etc/salt/cloud.profiles:
  10. file.managed:
  11. - source: salt://salt/files/profiles.conf
  12. - user: root
  13. - group: root
  14. - template: jinja
  15. {%- endif %}