Saltstack Official Linux Formula
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.

12345678910111213141516171819202122
  1. {%- from "linux/map.jinja" import storage with context %}
  2. {%- if storage.mount|length > 0 or storage.swap|length > 0 or storage.multipath.enabled or storage.disk|length > 0 or storage.lvm|length > 0 or storage.loopback|length > 0 %}
  3. include:
  4. {%- if storage.loopback|length > 0 %}
  5. - linux.storage.loopback
  6. {%- endif %}
  7. {%- if storage.disk|length > 0 %}
  8. - linux.storage.disk
  9. {%- endif %}
  10. {%- if storage.lvm|length > 0 %}
  11. - linux.storage.lvm
  12. {%- endif %}
  13. {%- if storage.mount|length > 0 %}
  14. - linux.storage.mount
  15. {%- endif %}
  16. {%- if storage.swap|length > 0 %}
  17. - linux.storage.swap
  18. {%- endif %}
  19. {%- if storage.multipath.enabled %}
  20. - linux.storage.multipath
  21. {%- endif %}
  22. {%- endif %}