Browse Source

Fix LVM setup

tags/2016.12
Filip Pytloun 9 years ago
parent
commit
44e2e19b96
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      linux/storage/lvm.sls

+ 2
- 2
linux/storage/lvm.sls View File

{%- for dev in vg.devices %} {%- for dev in vg.devices %}
lvm_{{ vgname }}_pv_{{ dev }}: lvm_{{ vgname }}_pv_{{ dev }}:
lvm.pv_present: lvm.pv_present:
- name: dev
- name: {{ dev }}
- require: - require:
- pkg: linux_lvm_pkgs - pkg: linux_lvm_pkgs
- require_in: - require_in:
lvm_vg_{{ vgname }}: lvm_vg_{{ vgname }}:
lvm.vg_present: lvm.vg_present:
- name: {{ vgname }} - name: {{ vgname }}
- devices: {{ vg.devices }}
- devices: {{ vg.devices|join(',') }}


{%- for lvname, volume in vg.volume.iteritems() %} {%- for lvname, volume in vg.volume.iteritems() %}



Loading…
Cancel
Save