-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change protocol for `clusterd push`: - Multiple files can be offered with one command invocation and one UDP broadcast - The files are actually transferred by calling back with tcp to the station which offered the files. This allows the receiving node to restrict file distribution sources to specific nodes. - The list of "trusted nodes" is set to `afk` and `wtf`. - A list of predefined commands can be given in addition to the list of offered files. The commands are executed after the files are transferred. This is required, because from the point of view of the caller of `cluster push`, the process is asynchronous, and so these commands can not be given with additional `clusterd exec` or `clusterd --exec` commands. Expected usage is something like this: clusterd push /etc/mxpolicy --post mkmotd After the daemons have updated, callers should be switches to the new commands and then the old commands should be removed.
- Loading branch information
Showing
1 changed file
with
139 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters