[j-nsp] email from commit or op script?
Phil Shafer
phil at juniper.net
Wed Feb 17 10:42:18 EST 2010
Ross Vandegrift writes:
>There's now tons of free distributed version control systems that
>would trivially support this. First one to port git to the MX and EX
>wins a case of beer from me :)
This question of which VCS to support is exactly why we just push
it to a server and let you roll your own.
That said, we could make [transfer-on-commit] run a command, like:
[edit system archival configuration]
transfer-on-commit;
archive-sites {
scp://me@my-server/whatever;
}
archive-command "ssh %A incoming-config-file --host %H --date %D --file %F";
This would transfer the file and then run the command (with
appropriate substitution).
To move in another direction: Has anyone added [transfer-on-commit]
support to RANCID?
Thanks,
Phil
More information about the juniper-nsp
mailing list