Browse Source

Update mount.sls

correction, wrong line.
added the possibility to set the dump and pass option

dump
    The dump value to be passed into the fstab, Default is 0
pass_num
    The pass value to be passed into the fstab, Default is 0
pull/221/head
preussal 3 years ago
parent
commit
6e1737a79f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      linux/storage/mount.sls

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

- fstype: {{ mount.file_system }} - fstype: {{ mount.file_system }}
- mkmnt: True - mkmnt: True
- opts: {{ mount.get('opts', 'defaults,noatime') }} - opts: {{ mount.get('opts', 'defaults,noatime') }}
{%- if mount.file_system == 'xfs' %}
- dump: {{ mount.dump|default('0', true) }} - dump: {{ mount.dump|default('0', true) }}
- pass_num: {{ mount.pass_num|default('0', true) }} - pass_num: {{ mount.pass_num|default('0', true) }}
{%- if mount.file_system == 'xfs' %}
- require: - require:
- pkg: xfs_packages_{{ mount.device }} - pkg: xfs_packages_{{ mount.device }}
{%- endif %} {%- endif %}

Loading…
Cancel
Save