Open mazzy89 opened 3 months ago
Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey. Please be sure to review our Code of Conduct. Also, check out some of our community resources including:
There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar. If you have additional questions, email us at saltproject@vmware.com. We’re glad you’ve joined our community and look forward to doing awesome things with you!
Important to mention that the cache dir where should be supposed stored the git files is empty
/tmp/salt/gitfs/refs/base
. This is empty.
I have tested manually cd
into /tmp/salt/gitfs/U48dr+66BGaxRlsRVyFUopVPySTAKzlU8_yHkh1LoB8=/_
which is the dir that should get the formula from git. Only the .git
folder is present. When I'm in that directory and I pull the branch manually and then re-run salt-ssh
at that point everything works.
So it seems that the gitfs_remotes
configuration for salt-ssh do not work.
Description
Git repos defined under
gitfs_remotes
are not fetched when using salt-sshSetup
Steps to Reproduce the behavior
dir struct of the
myrepo.com/repo/homelab.git
master
salt-ssh '*' state.apply
Expected behavior
Salt defined git repos should be pulled and
top.sls
should be placed in the proper mountpoint and the state applied.Screenshots If applicable, add screenshots to help explain your problem.
Versions Report
Additional context Add any other context about the problem here.