Browse Source

Support no volume for linux.storage.lvm state

tags/2016.12
Simon Pasquier 8 years ago
parent
commit
6b6058fd3a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      linux/storage/lvm.sls

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

- name: {{ vg.get('name', vgname) }} - name: {{ vg.get('name', vgname) }}
- devices: {{ vg.devices|join(',') }} - devices: {{ vg.devices|join(',') }}


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


lvm_{{ vg.get('name', vgname) }}_lv_{{ volume.get('name', lvname) }}: lvm_{{ vg.get('name', vgname) }}_lv_{{ volume.get('name', lvname) }}:
lvm.lv_present: lvm.lv_present:

Loading…
Cancel
Save