mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fixes wrong compared extra_mount_ignore_fs_keys key.
This commit is contained in:
parent
9d0762deca
commit
f0f68b9033
1 changed files with 3 additions and 0 deletions
|
@ -365,6 +365,9 @@ def mounted(name,
|
|||
if fstype in ['cifs'] and opt.split('=')[0] == 'user':
|
||||
opt = "username={0}".format(opt.split('=')[1])
|
||||
|
||||
if opt.split('=')[0] in mount_ignore_fs_keys.get(fstype, []):
|
||||
opt = opt.split('=')[0]
|
||||
|
||||
# convert uid/gid to numeric value from user/group name
|
||||
name_id_opts = {'uid': 'user.info',
|
||||
'gid': 'group.info'}
|
||||
|
|
Loading…
Add table
Reference in a new issue