salt icon indicating copy to clipboard operation
salt copied to clipboard

Is there a way to add remote gitfs without restarting master?

Open sametimesolutions opened this issue 11 years ago • 6 comments

  • Could this be done with a reactor that calls fileserver update passing in a git repo opt?
  • Does the CLI salt-run fileserver.update support this? It seems to be only updating git repos that were defined in the master configuration before the start?

sametimesolutions avatar Oct 16 '15 10:10 sametimesolutions

@sametimesolutions, I don't think this is currently possible. I remember at least one other issue about this but I can't find it. One thing to consider with remote fileservers is that they can be a significant security risk.

jfindlay avatar Oct 16 '15 18:10 jfindlay

@jfindlay Thank you for your response. I do agree using public remote fileservers could be a security concern. Our usecase would only allow for private or vetted fileservers to be used. The main thing is we can not restart the salt-master and disrupt deployments every time we want to add a new git repository. We were hoping we could interface the file manager api through an reactor to add the new repository.

sametimesolutions avatar Oct 16 '15 19:10 sametimesolutions

@sametimesolutions, that seems like a valid use case. I just wish I could find the other issue about this.

jfindlay avatar Oct 16 '15 20:10 jfindlay

@jfindlay You might be looking for #570 (also related: #11724)

eliasp avatar Oct 20 '15 05:10 eliasp

Thanks, @eliasp. Though not exactly the same, very closely related and may be the issue(s) I was thinking of.

jfindlay avatar Oct 20 '15 07:10 jfindlay

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 Jan 20 '18 19:01 stale[bot]