Parcourir la source

Update mount.sls

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 il y a 3 ans
Parent
révision
6b9766b663
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. +2
    -0
      linux/storage/mount.sls

+ 2
- 0
linux/storage/mount.sls Voir le fichier

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

Chargement…
Annuler
Enregistrer