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

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

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


Loading…
Cancel
Save