Browse Source

lvm filter fix

Change-Id: I9967f867b8695e4a5bc4759ca81eebe5ef2309c1
pull/115/head
Jiri Broulik 7 years ago
parent
commit
27ca5dd7b2
2 changed files with 1898 additions and 1 deletions
  1. +1891
    -0
      linux/files/lvm.conf
  2. +7
    -1
      linux/storage/lvm.sls

+ 1891
- 0
linux/files/lvm.conf
File diff suppressed because it is too large
View File


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

{%- from "linux/map.jinja" import storage with context %} {%- from "linux/map.jinja" import storage with context %}
{%- if storage.enabled %} {%- if storage.enabled %}



linux_lvm_pkgs: linux_lvm_pkgs:
pkg.installed: pkg.installed:
- pkgs: {{ storage.lvm_pkgs }} - pkgs: {{ storage.lvm_pkgs }}


{%- endfor %} {%- endfor %}


/etc/lvm/lvm.conf:
file.managed:
- source: salt://linux/files/lvm.conf
- template: jinja
- require:
- pkg: linux_lvm_pkgs

{%- endif %} {%- endif %}

Loading…
Cancel
Save