Browse Source

Merge pull request #106 from slimakcz/lvm_mount_order

fix order for storage: first create lv and next mount this lv
pull/102/merge
Filip Pytloun 7 years ago
parent
commit
5133402f89
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      linux/storage/init.sls

+ 3
- 3
linux/storage/init.sls View File

{%- if storage.loopback|length > 0 %} {%- if storage.loopback|length > 0 %}
- linux.storage.loopback - linux.storage.loopback
{%- endif %} {%- endif %}
{%- if storage.lvm|length > 0 %}
- linux.storage.lvm
{%- endif %}
{%- if storage.mount|length > 0 %} {%- if storage.mount|length > 0 %}
- linux.storage.mount - linux.storage.mount
{%- endif %} {%- endif %}
{%- if storage.swap|length > 0 %} {%- if storage.swap|length > 0 %}
- linux.storage.swap - linux.storage.swap
{%- endif %} {%- endif %}
{%- if storage.lvm|length > 0 %}
- linux.storage.lvm
{%- endif %}
{%- if storage.multipath.enabled %} {%- if storage.multipath.enabled %}
- linux.storage.multipath - linux.storage.multipath
{%- endif %} {%- endif %}

Loading…
Cancel
Save