salt icon indicating copy to clipboard operation
salt copied to clipboard

Ability to disable and adjust gitfs from the default 1 minute git pull for use case to pull from git only on commits

Open wongster80 opened this issue 10 years ago • 3 comments

When using gitfs, the salt master would pull from git every 1 minute by default. Currently there is no easy way to adjust that timing or totally disable the automatic git pull.

wongster80 avatar Jan 28 '16 20:01 wongster80

@wongster80, thanks for the report.

jfindlay avatar Jan 29 '16 20:01 jfindlay

I have lots of gitfs repo in salt and noticed that it can take a few minutes for salt to get through all of them affecting the masters performance to respond to minions. In a multimaster environment it can make sense to share the gitfs cache directory between the masters (over NFS) and have one master do handle the git cache update routine while other masters can respond to minions.

wongster80 avatar Apr 12 '16 19:04 wongster80

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

stale[bot] avatar Apr 22 '18 20:04 stale[bot]