Explorar el Código

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 hace 3 años
padre
commit
6b9766b663
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. +2
    -0
      linux/storage/mount.sls

+ 2
- 0
linux/storage/mount.sls Ver fichero

@@ -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 %}

Cargando…
Cancelar
Guardar