Salt modules.shadow failing
Is there anyway to fix this issue: https://github.com/saltstack/salt/issues/50979
To bypass this issue, I create a patch and built a package.
Patch:
--- a/salt/modules/shadow.py
+++ b/salt/modules/shadow.py
@@ -69,7 +69,7 @@
'warn': data.sp_warn,
'inact': data.sp_inact,
'expire': data.sp_expire}
- except KeyError:
+ except (KeyError, FileNotFoundError):
return {
'name': '',
'passwd': '',
```