I've setup git on an nfs server. The salt master auto-mounts the folder containing the git repository on boot. I have copied .sls files, templates and scripts to the git directory and added them to git.
I have added the following to the master config file, according to the guide here:
fileserver_backend:
- git
gitfs_remotes:
- file:///mnt/git-repo
I am in doubt about what to set file_roots to, but have tried both
- /srv/salt
and
- /mnt/git-repo
with same result: "No Top file or external nodes data matches found"
SaltStack version is 0.17.4, OS is SLES 11.2.
Does anyone know where I have gone wrong?