While documenting some of these scripts I noticed two things:
- Not all of them log a message to the SAL[1]
- They duplicate ddsh/rsync parameters and may not be consistent (at least it is not obvious why they wouldn't be the same).
Proposal:
- Update these to use sync-common-file internally (just like sync-file and sync-dir already do). That way they automatically get the following (if they didn't have it already, and if they did, it will now be centralized):
- various checks such as for SSH and ddsh
- notify dologmsg
- notify deploy2graphite
- sync-dblist
- sync-docroot
- sync-wikiversions
- Update sync-apache to include a notify dologmsg
[1] http://wikitech.wikimedia.org/view/Server_admin_log
Version: unspecified
Severity: enhancement
Whiteboard: deploysprint-13