The user remote GitFS configuration is setup like the following and the Salt master is not able to see files from the repository.
fileserver_backend:
- gitfs
- roots
gitfs_provider: pygit2
gitfs_remotes:
- git@<REPOSERVER>:443/<ORG_NAME>/<REPO_NAME>.git:
- username: <YOUR_USER_NAME>
- password: <YOUR_PASSWORD>
When running salt-run fileserver.file_list backend=gitfs there are no files returned, or there is an error returned.
Or you run salt <MINION_ID> cp.list_states and do not see any of the expected files from your Git repository.
Salt - all versions
There may be multiple causes for this issue
The repo URL schema is not a supported schema and will result in an error. If your organization does not allow port 22 for outbound connections, then consider changing to a HTTPS based repo URL.
See the SaltProject documentation for the GitFS walkthrough for more information.