Change-Id: I9967f867b8695e4a5bc4759ca81eebe5ef2309c1pull/115/head
@@ -1,7 +1,6 @@ | |||
{%- from "linux/map.jinja" import storage with context %} | |||
{%- if storage.enabled %} | |||
linux_lvm_pkgs: | |||
pkg.installed: | |||
- pkgs: {{ storage.lvm_pkgs }} | |||
@@ -48,4 +47,11 @@ lvm_{{ vg.get('name', vgname) }}_lv_{{ volume.get('name', lvname) }}: | |||
{%- endfor %} | |||
/etc/lvm/lvm.conf: | |||
file.managed: | |||
- source: salt://linux/files/lvm.conf | |||
- template: jinja | |||
- require: | |||
- pkg: linux_lvm_pkgs | |||
{%- endif %} |