ENH: Added functionality to expand user variables in paths for the salt module/state file module
Merge pull request #15505 from cimarronm/file_expanduser

expanduser on paths in file