fixed issue w/ multiple ext4 mounts

This commit is contained in:
Beth Parker 2019-07-02 13:05:49 -05:00
parent 0d2a3e40d8
commit cfe5b10b1a

View file

@ -2,7 +2,7 @@
{%- if pillar['mount']['ext4'] is defined -%} {%- if pillar['mount']['ext4'] is defined -%}
{%- for mount in pillar['mount']['ext4'] -%} {%- for mount in pillar['mount']['ext4'] -%}
{%- set device=pillar['mount']['ext4'][mount]['device'] -%} {% set device=pillar['mount']['ext4'][mount]['device'] %}
{{ mount }}: {{ mount }}:
mount.mounted: mount.mounted:
- device: {{ device }} - device: {{ device }}