1st post, so some basic questions
Neil Martinsen-Burrell
nmb at wartburg.edu
Thu Oct 8 16:58:14 BST 2009
On 2009-10-08 08:07 , lance raymond wrote:
> Thanks Martin (sorry for the direct reply), but didn't even notice the
> 'not using karmac' so was using that repo causing the problems.
> I changed to the intrepid one, and installed like a charm, thanks.
>
> Now what reading (or simple package/add-on) should I use to accomplish
> what I need. Basically I have 8 webservers, will jump on one, edit a
> virtualhost for example, save then commit. I want that commit to also
> copy the files to the other 7 webservers. They are all setup with ssh
> key's between them, but I think I need sftp running, etc. and haven't
> seen any 'how-to'.
You will need to use a plugin as there is no automatic way in Bazaar to
do this. (Bazaar is a Version Control tool, not a file distribution
mechanism. That is why this capability has to be built on with plugins
rather than included in the core.) The bzr-automirror plugin will get
you halfway there. It is designed to update a *single* remote working
copy whenever a commit happens. It could be easily extended to update
multiple servers.
If you did make such an extension, it would be great if you could
contribute that extension back to improve the plugin:
Just 1. ``bzr branch lp:bzr-automirror``, 2. make your extension there,
3. commit and 4. push your version to Launchpad: ``bzr push
~<your-launchpad-id>/bzr-automirror/multiple-hosts``, then 5. propose
your branch for merging in the Launchpad web UI: ``bzr lp-open`` and
click on "Propose for merging".
Peace,
-Neil
More information about the bazaar
mailing list