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.

9 年之前
123456789101112131415161718
  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 %}