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.

17 lines
434B

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